summaryrefslogtreecommitdiff
path: root/backends/pulse/pulse-helpers.h
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-11-20 20:43:42 +0100
committerMichal Ratajsky <[email protected]>2014-11-20 20:43:42 +0100
commitdcfd02b63f5d90b84d20e8b068df340ba8857ecc (patch)
tree4655dda6339e0650b37072cdcfe23d4166ae55a5 /backends/pulse/pulse-helpers.h
parent700e96a656a0fdd8893b1a280f6e2f685ff43daf (diff)
downloadlibmatemixer-dcfd02b63f5d90b84d20e8b068df340ba8857ecc.tar.bz2
libmatemixer-dcfd02b63f5d90b84d20e8b068df340ba8857ecc.tar.xz
pulse: Optimize conversion of channel constants
Diffstat (limited to 'backends/pulse/pulse-helpers.h')
-rw-r--r--backends/pulse/pulse-helpers.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/pulse/pulse-helpers.h b/backends/pulse/pulse-helpers.h
index 667fc3c..6d69e61 100644
--- a/backends/pulse/pulse-helpers.h
+++ b/backends/pulse/pulse-helpers.h
@@ -25,10 +25,10 @@
G_BEGIN_DECLS
-MateMixerChannelPosition pulse_convert_position_from_pulse (pa_channel_position_t position);
-pa_channel_position_t pulse_convert_position_to_pulse (MateMixerChannelPosition position);
+extern const MateMixerChannelPosition pulse_channel_map_from[PA_CHANNEL_POSITION_MAX];
+extern const pa_channel_position_t pulse_channel_map_to[MATE_MIXER_CHANNEL_MAX];
-MateMixerStreamControlMediaRole pulse_convert_media_role_name (const gchar *name);
+MateMixerStreamControlMediaRole pulse_convert_media_role_name (const gchar *name);
G_END_DECLS