simple: Enable pa_simple_flush() on record streams and amend documentation

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
This commit is contained in:
Peter Meerwald 2013-12-16 14:18:17 +01:00 committed by Tanu Kaskinen
parent 586324f0fc
commit a247f7c581
2 changed files with 3 additions and 5 deletions

View file

@ -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);