[alsa-devel] How to enforce 32bit access?

Takashi Iwai tiwai at suse.de
Tue Oct 9 11:08:10 CEST 2007


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.


Takashi

> On Tue, 2007-10-02 at 17:34 +0200, Joachim Foerster wrote:
> > [...]
> > 
> > Therefore my question is:
> > 
> > In my driver for the controller, how do I tell ALSA, that it is only
> > allowed to write in 32bit quantities?
> > Is this possible at all?
> > Or do I have to use a special .asoundrc file?
> 
> Thanks,
>  Joachim
> 
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 


More information about the Alsa-devel mailing list