1
0
mirror of http://www.pogo.org.uk/~mark/trx.git synced 2024-11-21 18:05:06 +01:00

Implicitly look for a new stream on resume

This commit is contained in:
Mark Hills 2014-04-05 10:37:21 +01:00
parent f35eb4efe2
commit 0b53299941

3
tx.c
View File

@ -71,6 +71,9 @@ static int send_one_frame(snd_pcm_t *snd,
f = snd_pcm_readi(snd, pcm, samples);
if (f < 0) {
if (f == -ESTRPIPE)
ts = 0;
f = snd_pcm_recover(snd, f, 0);
if (f < 0) {
aerror("snd_pcm_readi", f);