Sound report
Hello.
Quoted 2 lines · Jan Willem Stumpel
I applied Stas's opl1a.diff to 1.1.4.6 and I got sound out of SB fmorgan! The sound is quite horrible
There is a note on my page that the code is in an alpha stage, so the problem reports should not be sent. You've just violated that:)
Quoted 2 lines
(tweaking
DIRECT_WRITE_FREQ
inlinux_sound.hhelps a bit)
Strange that it makes any differences at all in that case...
Quoted 2 lines
but this is the first time I have
heard any sound at all from this program in many years.
Unfortunately this will take many years for that code to became a part of dosemu (if at all).
There was a person who is willing to volunteer for that work, in which case this have some more chances to be ever finished. I hope he will get to it soon:)
Quoted 2 lines
Also, I can get
either music or shooting sounds, but not both.
That means that your card or driver doesn't support multiple sound channels (hardware mixing). You have to try SB Live.
Quoted 1 line
Sound Blaster not responding on selected port.
Yep, the same problem.
Quoted 1 line
Using kernel 2.4.16 + alsa
I've heard somewhere that the Commercial OSS drivers have a built-in mixing. If this is true, use these and you'll get everything you want (the quality of the sound will still be miserable as the Adlib code is not finished - requires threading).
Quoted 4 lines · Stas Sergeev
There was a person who is willing to volunteer for that work, in which case this have some more chances to be ever finished. I hope he will get to it soon:)
Don't worry, I haven't forgotten about it. :)
Cheers,
Paul
Quoted 7 lines · Stas Sergeev
Hello.
Quoted 2 lines · Jan Willem Stumpel
[music from Wolf3d works but] Also, I can get either music or shooting sounds, but not both.
Quoted 6 lines
That means that your card or driver doesn't support multiple sound channels (hardware mixing). You have to try SB Live.
Quoted 1 line
Sound Blaster not responding on selected port.
Yep, the same problem.
It cannot be a hardware problem only, because in Win98, Wolf3d produces both shooting sounds *and* good-sounding music on my card. And it cannot be simply something connected with your patch, because also in Win98, SB fmorgan produces no sound at all. This is all pretty confusing.
Regards, Jan
Quoted 11 lines · Jan Willem Stumpel
Quoted 10 lines · Stas Sergeev
Quoted 2 lines · Jan Willem Stumpel
[music from Wolf3d works but] Also, I can get either music or shooting sounds, but not both.
That means that your card or driver doesn't support multiple sound channels (hardware mixing). You have to try SB Live.
Quoted 1 line
Sound Blaster not responding on selected port.
Quoted 7 lines
Quoted 1 line
Yep, the same problem.
It cannot be a hardware problem only, because in Win98, Wolf3d produces both shooting sounds *and* good-sounding music on my card. And it cannot be simply something connected with your patch, because also in Win98, SB fmorgan produces no sound at all. This is all pretty confusing.
You should not compare DOSEMU to win98, but rather to Windows NT/2K/XP's handling of DOS programs (with or without VDMSound). Win98 is quite happy about giving DOS programs direct hardware access and running them using iopl(3) (in which case also turning off the interrupts really turns them off, so that cli;hlt halts the machine).
Some direct access *can* be given to DOSEMU, but only if it runs as (or suid) root. This often involves a bit of "black magic" and it gets really complicated or impossible once DMA is involved. iopl(3) is a no-no (I think).
Bart