From f3597737defe495f9c618b12507c9528c0ade1ee Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 5 Jun 2020 11:54:34 +0200 Subject: [PATCH] pcm: clarify -ENODATA description (recovery, event) Signed-off-by: Jaroslav Kysela --- src/pcm/pcm.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c index cfa054b5..eb8f686d 100644 --- a/src/pcm/pcm.c +++ b/src/pcm/pcm.c @@ -300,6 +300,11 @@ PCM device for echo reference as described by SND_USE_CASE_MOD_ECHO_REF UCM token, may return -ENODATA if the linked playback stream has not been started. +There is no defined recovery or event mechanism to signal the data / link +availability at the moment. The PCM must be completely restarted until +the mechanism is designed. The #snd_pcm_recover() function cannot be +used for this. + \section pcm_params Managing parameters The ALSA PCM device uses two groups of PCM related parameters. The hardware -- 2.47.1