[alsa-devel] Dummy module and sample rates

Clemens Ladisch clemens at ladisch.de
Thu Sep 24 09:02:11 CEST 2015


Uli Franke wrote:
> I fiddled around with the Dummy module and it seems to be the thing
> we're looking for. I observed a rather strange behavior though:
>
> I set the hw params sample rate to 44k1 without error, but a subsequent
> call of snd_pcm_start returns EPIPE. When setting hw params sample rate
> to 4k this does not happen.

In theory, this error code is returned if you didn't write any samples
into the buffer before starting.

An underrun is possible too, but should be reported later AFAIK.
Could you check if a larger buffer size helps?


Regards,
Clemens


More information about the Alsa-devel mailing list