VOGONS


no sound in DOSBox 0.7x

Topic actions

First post, by Phil Carter

User metadata
Rank Newbie
Rank
Newbie

Using Linux (Slackware 12), building from source. Sound works in DOSBox 0.65 but not in any newer versions. One thing that may or may not be relevant is I installed SDL_sound 1.0.1 which put SDL_sound.h in /usr/local/include/SDL, but I had to put a symbolic link to SDL_sound.h in /usr/local/include. The configure scripts for DOSBox 0.7x would complain that they couldn't find SDL_sound otherwise. The 0.65 configure script worked but the source wouldn't compile without that symbolic link because it couldn't find SDL_sound.h.

Any ideas on why I can't get sound to work for versions of DOSBox newer than 0.65? For the moment I'll just use 0.65 though, because I primarily use it to play Wacky Wheels, which works fine with that version.

Phil's Wacky Wheels Site

Reply 1 of 8, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

check if you have libasound2 devel stuff

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 8, by Phil Carter

User metadata
Rank Newbie
Rank
Newbie

Well I have the ALSA lib devel stuff, which is apparently the same as libasound2 from what I can tell. I've compiled plenty of programs that use ALSA, in any case.

Phil's Wacky Wheels Site

Reply 3 of 8, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

SDL_sound is used for audiotracks in cdrom games. So it shouldn't affect the general sound.
We use SDL for that. As far as I know we haven't changed our interface with SDL in ages.
asound/alsa is used for midi
Does dosbox tell you anything if you start it from a terminal ?

Water flows down the stream
How to ask questions the smart way!

Reply 4 of 8, by Phil Carter

User metadata
Rank Newbie
Rank
Newbie

The messages at the terminal aren't particularly enlightening. I just noticed, however, that sound does work in DOSBox 0.7x, but it's significantly quieter than in version 0.65, i.e. much quieter than it should be. My sound card mixer settings are normal.

Phil's Wacky Wheels Site

Reply 5 of 8, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

in older version of dosbox sbpro was the default
now it is sb16 . maybe that is a difference ?
you can use the mixer command inside dosbox to beef up the sound levels.

Water flows down the stream
How to ask questions the smart way!

Reply 6 of 8, by Phil Carter

User metadata
Rank Newbie
Rank
Newbie

Aha, the mixer command. I guess I should have read the readme file more thoroughly haha. Running "mixer master 10000:10000" seems to work nicely. It seems a little odd setting the mixer level so high but it works... Actually the sound quality seems better now than with DOSBox 0.65 for some reason. Thanks a lot. Now if only I could get MIDI working on my computer (not a DOSBox-related problem).

Phil's Wacky Wheels Site

Reply 7 of 8, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

are you sure that the ingame soundlevels are correct ?
10000:10000 is huge. at my place i have no need to set the mixer volume at all.
maybe run alsamixer (in a terminal) to check your sound levels for all your devices

Water flows down the stream
How to ask questions the smart way!

Reply 8 of 8, by Phil Carter

User metadata
Rank Newbie
Rank
Newbie

Well I did have the volume turned down some in the game. I turned it all the way up and then 10000:10000 was indeed far too much and it sounded like it was clipping quite a bit. I have it set to back at 100:100 now and it sounds fine. I'm guessing that I had backed the volume off because it was so loud in DOSBox 0.65. Even 10000:10000 in DOSBox 0.72 didn't bring the volume up to the level that it had been in 0.65. Now that I compare version 0.65 to 0.72, the sound in 0.65 is ridiculously loud and very distorted. So I guess I was actually having a problem with the sound in version 0.65 and turned the game volume levels down to compensate for it somewhat. In any case, everything is working properly now.

Phil's Wacky Wheels Site