* Sound problem in dosemu 1.1.4
@ 2003-01-03 21:16 Thomas Pallmann
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Pallmann @ 2003-01-03 21:16 UTC (permalink / raw)
To: linux-msdos
Hello,
I have a small problem with sound in Dosemu.
The sound config seems to be ok since the setup program of my favorite game
(the reason i run Dosemu) recognize the soundcard, although it recognize a
soundblaster 16/awe card. If i disable sound in the dosemurc, then the
setup is unable to find a soundcard.
Now with sound enabled in dosemurc and using SB pro or plain SB in the
sound setup program of the game, all i get is a static/crackle noise out of
my speakers. Sound worked fine in Dosemu 1.1.3 with the same program and
setup which confuses me a bit.
So my Question is, since i'm rather new to Dosemu, where i could start my
troubleshooting? I'm using the sourceforge vortex driver for my Terratec
Xlerate (aureal chipset). If you need more infos i will be glad to provide
them.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Sound problem in dosemu 1.1.4
@ 2003-01-04 9:15 Stas Sergeev
0 siblings, 0 replies; 2+ messages in thread
From: Stas Sergeev @ 2003-01-04 9:15 UTC (permalink / raw)
To: linux-msdos
[-- Attachment #1: Type: text/plain, Size: 302 bytes --]
Hello.
Thomas Pallmann wrote:
> I'm using the sourceforge vortex driver for my
> Terratec Xlerate (aureal chipset).
Please fix your buggy aureal drivers.
The attached patch will help you to
start doing that.
Third-party drivers are not supported
by dosemu anymore (except the PCSP driver
of course:)
[-- Attachment #2: au_audio.diff --]
[-- Type: text/plain, Size: 1028 bytes --]
--- au_audio.c.old Thu Jan 31 00:20:16 2002
+++ au_audio.c Tue Mar 5 04:34:04 2002
@@ -361,14 +361,13 @@
if(!wdev->play_stream.wave)
return -EINVAL;
PSHOW("au_audio_ioctl() : DSP_POST\n");
- drain_playback(dev, wdev, (file->f_flags & O_NONBLOCK));
- stop_wave(dev, &(wdev->play_stream));
+ drain_playback(dev, wdev, 1);
return SUCCESS;
case SNDCTL_DSP_SYNC:
if (wdev->play_stream.wave) {
PSHOW("au_audio_ioctl() : DSP_SYNC\n");
- drain_playback(dev, wdev, (file->f_flags & O_NONBLOCK));
+ drain_playback(dev, wdev, 0);
stop_wave(dev, &(wdev->play_stream));
}
if (wdev->record_stream.wave)
@@ -709,6 +708,9 @@
spin_lock_irqsave(&dev->irq_lock,flags);
AddWaveBuffer(wdev->play_stream.wave, mb->page, mb->count);
spin_unlock_irqrestore(&dev->irq_lock,flags);
+ wdev->play_stream.fill_index++;
+ if(wdev->play_stream.fill_index >= wdev->play_stream.num_frags)
+ wdev->play_stream.fill_index = 0;
}
while (wdev->play_stream.total_played < wdev->play_stream.total_sent) {
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-04 9:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-03 21:16 Sound problem in dosemu 1.1.4 Thomas Pallmann
-- strict thread matches above, loose matches on Subject: below --
2003-01-04 9:15 Stas Sergeev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox