summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-11-20 15:30:15 +0100
committerMichal Ratajsky <[email protected]>2014-11-20 15:30:15 +0100
commitfba7bd8e24abd215bbce6c704d4c112014f23a82 (patch)
tree2e941a804664593f669f3f3fd76dab5707ee297c
parent249bddc5abe70fc6281303c76ce0d059e09d4976 (diff)
downloadlibmatemixer-fba7bd8e24abd215bbce6c704d4c112014f23a82.tar.bz2
libmatemixer-fba7bd8e24abd215bbce6c704d4c112014f23a82.tar.xz
pulse: Do not hide monitor sources
Apart from being useful in some cases, application inputs may get moved to these sources (for example when changing profiles or from another application), and then the library loses track of these controls
-rw-r--r--backends/pulse/pulse-backend.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/backends/pulse/pulse-backend.c b/backends/pulse/pulse-backend.c
index 84296c3..bb203f5 100644
--- a/backends/pulse/pulse-backend.c
+++ b/backends/pulse/pulse-backend.c
@@ -952,10 +952,6 @@ on_connection_source_info (PulseConnection *connection,
PulseDevice *device = NULL;
PulseStream *stream;
- /* Skip monitor streams */
- if (info->monitor_of_sink != PA_INVALID_INDEX)
- return;
-
if (info->card != PA_INVALID_INDEX)
device = g_hash_table_lookup (pulse->priv->devices,
GUINT_TO_POINTER (info->card));