On Wed, 9 Jul 2003, Ryan Underwood wrote: > > Hi, > > On Wed, Jul 09, 2003 at 02:39:58PM +0200, Takashi Iwai wrote: > > > > > > You are correct, play works correctly but catting does not. It seems, > > > however, that many OSS drivers support cat a wav file directly to /dev/dsp, > > > and do the detection of the format parameters internally. I guess this is not > > > required by the OSS specification? > > > > really do _many_ oss drivers support these features? > > i've never thought of that... > > Every one I've used has done so (Aureal Vortex2, CS4614, c-media, etc). > I don't know if it's the rule but it seems like fairly common behavior > from my experience. > > In any case it's really not a big deal, just that ALSA's OSS emulation > seems to be divergent from the typical OSS driver's behavior in that > regard.
Show me a wav header parser code in these drivers. I guess that you are a bit confused. The standard parameters are 8000Hz, mono, 8-bit unsigned (/dev/dsp) or 8000Hz, mono, 16-bit unsigned (/dev/dsp16) or 8000Hz, mono, muLaw (/dev/audio) as far as I work with sound drivers since 1994. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel