mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
fix bug about get source-output status
This commit is contained in:
parent
0c0c285e79
commit
fb05059acf
1 changed files with 1 additions and 1 deletions
|
|
@ -1486,7 +1486,7 @@ static pa_hook_result_t source_put_hook_callback(pa_core *c, pa_source *source,
|
||||||
if (!PA_SOURCE_OUTPUT_IS_LINKED(pa_source_output_get_state(so)))
|
if (!PA_SOURCE_OUTPUT_IS_LINKED(pa_source_output_get_state(so)))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!(name = get_name(so->proplist, "source-input")))
|
if (!(name = get_name(so->proplist, "source-output")))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if ((e = read_entry(u, name))) {
|
if ((e = read_entry(u, name))) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue