Ran and list,

On Oct 8, 2015 09:29, "Ran Shalit" <ransha...@gmail.com> wrote:
>
> Hello,
>
> I don't understand why rate is required when we play PCM file.
> The sample rate is already encoded in file header, so why would aplay
> need this parameter ?
>
> Thanks,
> Ran

Did you read the man page?

Looks to me like aplay and arecord are the same binary, so the rate is of
interest when recording. And apparently when playing a raw PCM file which
doesn't have a header. The man page states that sample rate can be
determined from the file header...
------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to