mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
simple: Enable pa_simple_flush() on record streams and amend documentation
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
This commit is contained in:
parent
586324f0fc
commit
a247f7c581
2 changed files with 3 additions and 5 deletions
|
|
@ -423,8 +423,6 @@ int pa_simple_flush(pa_simple *p, int *rerror) {
|
|||
|
||||
pa_assert(p);
|
||||
|
||||
CHECK_VALIDITY_RETURN_ANY(rerror, p->direction == PA_STREAM_PLAYBACK, PA_ERR_BADSTATE, -1);
|
||||
|
||||
pa_threaded_mainloop_lock(p->mainloop);
|
||||
CHECK_DEAD_GOTO(p, rerror, unlock_and_fail);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue