[alsa-devel] How to enforce 32bit access?
Takashi Iwai
tiwai at suse.de
Wed Oct 10 15:22:33 CEST 2007
At Wed, 10 Oct 2007 15:19:42 +0200,
Joachim Foerster wrote:
>
> Hi Takashi,
>
> On Tue, 2007-10-09 at 11:08 +0200, Takashi Iwai wrote:
> > At Fri, 05 Oct 2007 19:09:53 +0200,
> > Joachim Foerster wrote:
> > >
> > > Hi ALSA devs,
> > >
> > > meanwhile I tried to put a constraint on SNDRV_PCM_HW_PARAM_FRAME_BITS
> > > by the use of snd_pcm_hw_constraint_minmax() function with min=32 and
> > > max=32, but still no success - the ALSA Library still makes 16bit
> > > accesses, when playing mono (1 channel) files.
> > >
> > > Any ideas?
> >
> > Could you show the chain of plugins via aplay -v ?
> > I'm not sure which plugin requires S16. Possibly, the rate converter.
>
> bash-3.00# aplay -v -M ../Absage.wav
> Playing WAVE '../Absage.wav' : Signed 16 bit Little Endian, Rate 16000
> Hz, Mono
Well, the sample itself is 16bit format, and your hardware *does*
support 16bit format. Why to be 32bit?
Takashi
More information about the Alsa-devel
mailing list