Flush pw streams on destroy
This commit is contained in:
@@ -40,6 +40,8 @@ struct deleter
|
||||
}
|
||||
void operator()(pw_stream * stream)
|
||||
{
|
||||
pw_stream_set_active(stream, false);
|
||||
pw_stream_flush(stream, false);
|
||||
pw_stream_destroy(stream);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user