PDA

View Full Version : Dosbox sound not working, sound is working outside of dosbox though


graigsmith
April 9th, 2005, 05:24 PM
im having a problem with dosbox, it wont do any sound. but im playing my music files right now. so im not sure why its not working.

anyone know why its not working?

edubarr
April 9th, 2005, 05:47 PM
im having a problem with dosbox, it wont do any sound. but im playing my music files right now. so im not sure why its not working.

anyone know why its not working?
I had the same problem. From what I understand Ubuntu uses esd for sound and this ends up locking ALSA out. What I do to get sound working for dosbox is kill the esd daemon (killall esd). This way ALSA has access to the hardware. Afterwards just type 'sudo /etc/init.d/alsa stop' and 'esd &' and '/etc/init.d/alsa start' to get esd working again.

I hope this helps.

graigsmith
April 9th, 2005, 06:05 PM
I had the same problem. From what I understand Ubuntu uses esd for sound and this ends up locking ALSA out. What I do to get sound working for dosbox is kill the esd daemon (killall esd). This way ALSA has access to the hardware. Afterwards just type 'sudo /etc/init.d/alsa stop' and 'esd &' and '/etc/init.d/alsa start' to get esd working again.

I hope this helps.
why can't dosbox access the esd thing instead of directly accessing the device?

edubarr
April 9th, 2005, 06:21 PM
I really don't know why dosbox only wants ALSA, the only thing I know is that's how it works for me. Perhaps there's a way to make it work with esd, but I really didn't look a lot into this issue... Maybe there's something on their forums or mailing list. If you want to look for more info try their website:

http://dosbox.sourceforge.net

Hope you get it working. :-)

graigsmith
April 10th, 2005, 03:02 AM
i havent had any luck, dosbox does not give sound.. also found out that Audacity doesn't have sound. Plus audacity looks like crap.

graigsmith
April 10th, 2005, 04:42 AM
why does ubuntu come with 3!!! different sound systems that interfere with eachother??

how can i make my ubuntu use either alsa oss or esd, i just want to use one, i just want it to work.

zaro
August 5th, 2005, 08:16 AM
By default only OSS version of the SDL Library (which dosbox uses) is installed .

$ sudo apt-get install libsdl1.2debian-all

installs the full version with esd support.

graigsmith
August 6th, 2005, 04:00 AM
i fixed this, i removed the usb soundcard, and stuck in my old soundblaster live. the sb live has hardware mixing and doesn't have to use esd.

GolerGkA
November 25th, 2006, 09:30 PM
Id hasn't worked for me! I've got AC97 inboard codec, esd killed, ALSA running, but no dosbox sound! :(