[alsa-devel] Wrong sample rate user space -> kernel space?

Daniel Mack daniel at caiaq.de
Tue Jul 7 16:29:42 CEST 2009

On a PXA embedded board, the sample rate propagation from user space to
kernel space seems to be wrong.

When I start aplay (v1.0.19) from userspace like this ...

    # aplay -f dat /dev/urandom 
    Playing raw data '/dev/urandom' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

... params_rate(params) in my snd_soc_ops .hw_params callback returns
88200, not 48000.

Can anyone reproduce this? I guess this is unrelated to PXA and ASoC.


More information about the Alsa-devel mailing list