mirror of https://bitbucket.org/ausocean/av.git
alsa: don't stop recording if there's an unexpected ring buffer error
This commit is contained in:
parent
a0867331cb
commit
eeef34e1fb
|
@ -406,7 +406,6 @@ func (d *ALSA) input() {
|
||||||
d.l.Log(logger.Warning, "old audio data overwritten")
|
d.l.Log(logger.Warning, "old audio data overwritten")
|
||||||
default:
|
default:
|
||||||
d.l.Log(logger.Error, "unexpected ringbuffer error", "error", err.Error())
|
d.l.Log(logger.Error, "unexpected ringbuffer error", "error", err.Error())
|
||||||
return
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue