Chase Douglas wrote: > On Jan 19, 2007, at 2:53 AM, Clemens Ladisch wrote: > > In this case, the driver should just use 32-bit samples directly and let > > the ALSA library handle the sample format conversion. > > I wouldn't mind using 32-bit samples, but, if I remember correctly, I > can't drive the cirrus logic cs4271 I2S codec chip at a bitrate that > would require. I'm currently converting from 16 bit to 24 bit samples > to send out to the codec chip because 16 bit samples are easier to > keep track of than 24 bit samples when converting to a 32 bit stream. Well, then use 24-bit samples. Just use the format that your hardware uses so that the driver doesn't have to do any conversion. > I'm sort of an alsa driver newbie so I really don't know the alsa > architecture very well. If Mplayer tries to play a 16 bit sampled > audio file and requests such sampling from alsa, but the driver only > supports 24 bit, does alsa take a 16 bit and do the conversion for me? Yes. Regards, Clemens ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel