mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -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
|
|
@ -91,8 +91,7 @@ static int source_process_msg_cb(pa_msgobject *o, int code, void *data, int64_t
|
|||
* make sure we don't access it in that time. Also, the
|
||||
* source output is first shut down, the source second. */
|
||||
if (!PA_SOURCE_IS_LINKED(u->source->thread_info.state) ||
|
||||
!PA_SOURCE_OUTPUT_IS_LINKED(u->source_output->thread_info.state) ||
|
||||
!u->source_output->source) {
|
||||
!PA_SOURCE_OUTPUT_IS_LINKED(u->source_output->thread_info.state)) {
|
||||
*((int64_t*) data) = 0;
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue