24 Sep
2015
24 Sep
'15
9:02 a.m.
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