8 Jun
2009
8 Jun
'09
6:25 p.m.
Em Seg, 2009-06-08 às 17:58 +0200, pHilipp Zabel escreveu:
I thought sample width is determined by the snd_pcm_hw_params. But maybe I'm mixing up alsa sample width vs sample width on the wire? I'm leaning towards set_frame_width because that's directly what I want to do: override pxa_ssp_hw_params' standard decision to use 32-bit frames for S16_LE stereo and set 16-bit frames instead.
Actually, the current code is not doing this. It is using 32bit DMA, but with 16bit frame size on the wire for S16_LE stereo (unless you setup 2 timeslots).
--
Daniel Ribeiro