[alsa-devel] asound snd_pcm_start question
12 Aug
2019
12 Aug
'19
6:22 p.m.
Hi,
This is a simple question. I call: snd_pcm_prepare snd_pcm_writei
and it works fine but I would like to delay playback start. There is snd_pcm_start for that. There is a method that is deprecated to specify a start mode but I was wondering what was the correct new way to do that?
Thanks, Eric
12 Aug
12 Aug
6:35 p.m.
Eric Desjardins wrote:
I call: snd_pcm_prepare snd_pcm_writei
and it works fine but I would like to delay playback start.
The device starts automatically when start_threshold frames are available. To prevent automatic starting, set it to a value that is larger than the buffer size, i.e., the boundary value.
Regards, Clemens
1959
Age (days ago)
1959
Last active (days ago)
1 comments
2 participants
participants (2)
-
Clemens Ladisch
-
Eric Desjardins