summaryrefslogtreecommitdiff
path: root/backends/pulse/pulse-device.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-device.c
parent461ef5c17262f573c4006010ed421fa364548e19 (diff)
downloadlibmatemixer-fd7bf59716421c96a7f7c2c6f3ae60636ef24d3d.tar.bz2
libmatemixer-fd7bf59716421c96a7f7c2c6f3ae60636ef24d3d.tar.xz
Require PulseAudio 2.0 or newer
Diffstat (limited to 'backends/pulse/pulse-device.c')
-rw-r--r--backends/pulse/pulse-device.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/backends/pulse/pulse-device.c b/backends/pulse/pulse-device.c
index 71040cc..d53c86a 100644
--- a/backends/pulse/pulse-device.c
+++ b/backends/pulse/pulse-device.c
@@ -373,7 +373,6 @@ pulse_device_load (PulseDevice *device, const pa_card_info *info)
{
guint i;
-#if PA_CHECK_VERSION (2, 0, 0)
for (i = 0; i < info->n_ports; i++) {
PulsePort *port;
const gchar *name;
@@ -391,7 +390,6 @@ pulse_device_load (PulseDevice *device, const pa_card_info *info)
g_strdup (name),
port);
}
-#endif
/* Create the device profile switch */
if (info->n_profiles > 0) {