Page 1 of 1

Guest DOS wont play sound!

Posted: 21. Feb 2016, 21:01
by Devix167
Hello, I recently created a dos guest machine and in the machine settings I enabled sound, but when I go into QBasic to play audio on dos, there is no sound!

Extra notes:
Running Win10 Host
Using Skullcandy headphones
Could be DOS itself...
Yes I googled it...



Maybe its because im using headphones? Or do I need to install somthing for dos to play audio?

-Devyn

Re: Guest DOS wont play sound!

Posted: 21. Feb 2016, 22:01
by mpack
You need to install SoundBlaster drivers in DOS.

Re: Guest DOS wont play sound!

Posted: 21. Feb 2016, 22:09
by michaln
If "audio" means PC speaker then no, VirtualBox does not currently support that.

Re: Guest DOS wont play sound!

Posted: 21. Feb 2016, 23:58
by Devix167
mpack wrote:You need to install SoundBlaster drivers in DOS.
And how do I do that?

-Devyn

Re: Guest DOS wont play sound!

Posted: 22. Feb 2016, 00:10
by mpack
The question is moot if you weren't talking originally about SoundBlaster audio.

Re: Guest DOS wont play sound!

Posted: 22. Feb 2016, 00:47
by Devix167
mpack wrote:The question is moot if you weren't talking originally about SoundBlaster audio.
I dont understand what you mean? You gave me an answer and I want to know how to do said answer...

Re: Guest DOS wont play sound!

Posted: 22. Feb 2016, 11:34
by mpack
The only audio device built into DOS era PCs would the beeper (PC internal speaker). It mainly beeps, though you could play simple monotonous tunes with it.

SoundBlaster is the name a third party company that made plug in audio cards for 16 bit stereo audio. Of course DOS (being just a DISK Operating System) does not provide an API for third party devices, so you needed to install the resident driver from SoundBlaster. Google for how, as providing a DOS tutorial is really beyond the scope of these forums. Late era DOS might have provided a SoundBlaster driver as standard, I don't recall.

And as I already said, the discussion is moot if QBasic doesn't know how to drive SoundBlaster, which is entirely possible: I never used QBasic. If all it can do is beep then there's nothing you can do since VirtualBox doesn't provide a simulated beeper.