From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Jo=EBl?= Bourquard Subject: Re: Hi, does someone use i810 onboard sound ? Date: Sun, 05 Oct 2003 22:23:18 -0100 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <1065396197.3882.11.camel@localhost.localdomain> References: <3F80161E.30905@yahoo.com> Reply-To: numlock@freesurf.ch Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <3F80161E.30905@yahoo.com> List-Id: Content-Type: text/plain; charset="iso-8859-1" To: Stas Sergeev Cc: linux-msdos@vger.kernel.org Hi Stas, On Sun, 2003-10-05 at 12:01, Stas Sergeev wrote: > IIRC Stunts uses an FM sound in SB mode, > which is not implemented yet. > You can set Stunts to MT-32 mode, which > is implemented and is supported by midid. You're correct, it is FM sound. Sorry. > > About a workaround for the stereo issue, I didn't see it as > > "post-processing". Perhaps a simple option to prevent opening /dev/= dsp > > in mono could be useful > Prevent and do what? Not opening at all? > You can just set $_sound=3D(off) for that. > To do that properly, dosemu or some > external software must convert the mono > sound stream to stereo, and preferrably > also resample it to 44100. Then your > problem as well as some other problems > will disappear. I meant, to open in stereo while keeping the same sampling rate. Most newer soundcards are 48000, but they (should) handle sampling rate conversion in hardware. > For people with buggy drivers I wrote an > excellent test-case sound driver which can > be found here: > http://www.geocities.com/stssppnn/pcsp.html > It is intended to be 100% correct :) > Try it with dosemu and see if the patch > fixes the problem with that driver. > If yes - your driver is buggy and the ALSA > must be attempted instead. Btw, if you > know your OSS driver is buggy, why don't > you use ALSA? Is there a support for your > chip? I thought my i810 driver was OSS, but it's already ALSA. My mistake. I've tried your pc speaker driver, and wow it's impressive ! With this driver the Goblins test was successful, after I did the following: - applied your patch - increased DIRECT_WRITE_FREQ to 11025. If DIRECT_WRITE_FREQ is not changed, the games hangs after ~5 seconds with plenty of "ERROR: SB: direct write buffer overflowed!" in the console. I suggest you replace the default value with 11025 (should tes= t stability more carefully though). Now for sure, my i810 driver sucks. Do you know if there is: - an alternative ? (I'm using kernel 2.4.23) - an incompatibility between it and DosEMU ? - a place where I could report the problem to the i810 driver guys ? Thanks for your help.. your DosEmu rocks !! Best Regards, Jo=C3=ABl - To unsubscribe from this list: send the line "unsubscribe linux-msdos" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html