[alsa-devel] Question on wait_for_avail function
Clemens Ladisch
clemens at ladisch.de
Wed Jun 5 11:17:23 CEST 2013
gsantosh at codeaurora.org wrote:
> 2) HAL issues pause in parallel to the write
This is illegal.
<http://www.alsa-project.org/main/index.php/SMP_Design> says:
| The use of returned handles [such as snd_pcm_t*] must be serialized in
| the application using own locking scheme.
If you want to issue a pause while waiting for data to be written, use
non-blocking writes.
Regards,
Clemens
More information about the Alsa-devel
mailing list