Re: Wrong sample rate user space -> kernel space?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel Mack wrote:
> 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.

It might be possible that userspace converts the sample rate because it
thinks that the driver doesn't support 48 kHz.

Is there a converter plugin in the output of "aplay -f dat -v /dev/urandom"?


Best regards,
Clemens
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux