summaryrefslogtreecommitdiff
path: root/backends/pulse/pulse-connection.c
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2015-12-10 00:16:15 +0100
committerMichal Ratajsky <[email protected]>2015-12-10 00:16:15 +0100
commitfd7bf59716421c96a7f7c2c6f3ae60636ef24d3d (patch)
tree5d25007cdc258d46358bd3eee938495c561c3a15 /backends/pulse/pulse-connection.c
parent461ef5c17262f573c4006010ed421fa364548e19 (diff)
downloadlibmatemixer-fd7bf59716421c96a7f7c2c6f3ae60636ef24d3d.tar.bz2
libmatemixer-fd7bf59716421c96a7f7c2c6f3ae60636ef24d3d.tar.xz
Require PulseAudio 2.0 or newer
Diffstat (limited to 'backends/pulse/pulse-connection.c')
-rw-r--r--backends/pulse/pulse-connection.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/backends/pulse/pulse-connection.c b/backends/pulse/pulse-connection.c
index afd1e48..995b522 100644
--- a/backends/pulse/pulse-connection.c
+++ b/backends/pulse/pulse-connection.c
@@ -1000,7 +1000,6 @@ pulse_connection_set_source_output_mute (PulseConnection *connection,
guint32 index,
gboolean mute)
{
-#if PA_CHECK_VERSION(1, 0, 0)
pa_operation *op;
g_return_val_if_fail (PULSE_IS_CONNECTION (connection), FALSE);
@@ -1014,9 +1013,6 @@ pulse_connection_set_source_output_mute (PulseConnection *connection,
NULL, NULL);
return process_pulse_operation (connection, op);
-#else
- return FALSE;
-#endif
}
gboolean
@@ -1024,7 +1020,6 @@ pulse_connection_set_source_output_volume (PulseConnection *connection,
guint32 index,
const pa_cvolume *volume)
{
-#if PA_CHECK_VERSION(1, 0, 0)
pa_operation *op;
g_return_val_if_fail (PULSE_IS_CONNECTION (connection), FALSE);
@@ -1038,9 +1033,6 @@ pulse_connection_set_source_output_volume (PulseConnection *connection,
NULL, NULL);
return process_pulse_operation (connection, op);
-#else
- return FALSE;
-#endif
}
gboolean