diff options
author | Alex Chronopoulos <[email protected]> | 2017-02-03 12:19:07 +0200 |
---|---|---|
committer | Paul Adenot <[email protected]> | 2017-02-06 16:02:27 +0100 |
commit | bec01ded50c24e223cb28079f808def2eb789525 (patch) | |
tree | 78fb88647fc4f196cdaa19416e6183716eac18bb /src/cubeb_pulse.c | |
parent | 183776aad9fc1b45707d806c94a21206b32f2839 (diff) | |
download | cubeb-bec01ded50c24e223cb28079f808def2eb789525.tar.gz cubeb-bec01ded50c24e223cb28079f808def2eb789525.zip |
pulse: return state enabled when port is NULL. (Bug 1332887)
Diffstat (limited to 'src/cubeb_pulse.c')
-rw-r--r-- | src/cubeb_pulse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cubeb_pulse.c b/src/cubeb_pulse.c index c9de4fc..75f1b3b 100644 --- a/src/cubeb_pulse.c +++ b/src/cubeb_pulse.c @@ -1240,7 +1240,7 @@ pulse_get_state_from_sink_port(pa_sink_port_info * info) return CUBEB_DEVICE_STATE_ENABLED; } - return CUBEB_DEVICE_STATE_DISABLED; + return CUBEB_DEVICE_STATE_ENABLED; } static void @@ -1300,7 +1300,7 @@ pulse_get_state_from_source_port(pa_source_port_info * info) return CUBEB_DEVICE_STATE_ENABLED; } - return CUBEB_DEVICE_STATE_DISABLED; + return CUBEB_DEVICE_STATE_ENABLED; } static void |