mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
virtual sinks and sources: Revert commits
This patch reverts commitdb4fbb0121and3bb94c4e83. They were the wrong approach to fix the bug (and did not fix it anyway).
This commit is contained in:
parent
4c6843f020
commit
00aeedfe98
7 changed files with 8 additions and 16 deletions
|
|
@ -83,8 +83,7 @@ static int sink_process_msg(pa_msgobject *o, int code, void *data, int64_t offse
|
|||
/* The sink is _put() before the sink input is, so let's
|
||||
* make sure we don't access it yet */
|
||||
if (!PA_SINK_IS_LINKED(u->sink->thread_info.state) ||
|
||||
!PA_SINK_INPUT_IS_LINKED(u->sink_input->thread_info.state) ||
|
||||
!u->sink_input->sink) {
|
||||
!PA_SINK_INPUT_IS_LINKED(u->sink_input->thread_info.state)) {
|
||||
*((int64_t*) data) = 0;
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue