At Thu, 15 Aug 2002 16:04:44 +0200, Thierry Vignaud wrote: > > Takashi Iwai <[EMAIL PROTECTED]> writes: > > > OSS emulation > > - Wine OSS (mmap) is not working. (A workaround already known.) > > you would be very nice to tell me which woraround to use :-)
the problem is basically on wine, so the "right" way to fix wine. but the short way is to apply the following patch. wine tries to mmap with the 8bit mode first, and gives up the whole sound when it doesn't work. alsa oss emulation accepts 8bit mode as long as it's accessed via read/write, because plugin can handle it. but, mmap cannot. so the application can be confused. the attached patch has an obvious drawback, that application can run mmap even with the wrong parameter. Takashi
oss-mmap-fix.dif
Description: Binary data