summaryrefslogtreecommitdiff
path: root/backends/pulse/pulse-source-output.c
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2016-01-05 11:14:12 +0100
committerMichal Ratajsky <[email protected]>2016-01-05 11:18:38 +0100
commit851c4a0b3615234ff3930389dd666205c2863c64 (patch)
treec4836b7236b7ad5f3aaf09a5be5db37b4ab4cc2f /backends/pulse/pulse-source-output.c
parentc03e76c83ed49335390cdb9e3a8e63df4d73e0c5 (diff)
downloadlibmatemixer-851c4a0b3615234ff3930389dd666205c2863c64.tar.bz2
libmatemixer-851c4a0b3615234ff3930389dd666205c2863c64.tar.xz
pulse: Turn a macro into a function and provide error checking
Diffstat (limited to 'backends/pulse/pulse-source-output.c')
-rw-r--r--backends/pulse/pulse-source-output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/pulse/pulse-source-output.c b/backends/pulse/pulse-source-output.c
index 6d7fad8..b3552d5 100644
--- a/backends/pulse/pulse-source-output.c
+++ b/backends/pulse/pulse-source-output.c
@@ -211,6 +211,6 @@ pulse_source_output_create_monitor (PulseStreamControl *psc)
g_return_val_if_fail (PULSE_IS_SOURCE_OUTPUT (psc), NULL);
return pulse_connection_create_monitor (pulse_stream_control_get_connection (psc),
- PULSE_STREAM_CONTROL_GET_STREAM_INDEX (psc),
+ pulse_stream_control_get_stream_index (psc),
PA_INVALID_INDEX);
}