[alsa-devel] Question about the buffer length in the transfer callback of the PCM External Plugin

Clemens Ladisch clemens at ladisch.de
Tue Nov 1 12:49:13 CET 2016


Bach, Andrea wrote:
> Ok, what about the output buffer?

"Output" from which point of view?  Playback or capture?

> When just 960 bytes are ready to be returned but I have to return 1000 bytes?

In theory, this is an underrun.

You could wait until the next 40 bytes are available.


Regards,
Clemens


More information about the Alsa-devel mailing list