summaryrefslogtreecommitdiff
path: root/backends/alsa/alsa-constants.h
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-08-18 20:49:17 +0200
committerMichal Ratajsky <[email protected]>2014-08-18 20:49:17 +0200
commit5f20ab328add9442082277a57c23273a3a2125ed (patch)
treefb458ba63f25db35de6b5a9c9acf0f967020107f /backends/alsa/alsa-constants.h
parent94d24482d8b1013947c0e2dac7330180b6ae02f6 (diff)
downloadlibmatemixer-5f20ab328add9442082277a57c23273a3a2125ed.tar.bz2
libmatemixer-5f20ab328add9442082277a57c23273a3a2125ed.tar.xz
Global update
Diffstat (limited to 'backends/alsa/alsa-constants.h')
-rw-r--r--backends/alsa/alsa-constants.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/backends/alsa/alsa-constants.h b/backends/alsa/alsa-constants.h
index 81257c7..8137289 100644
--- a/backends/alsa/alsa-constants.h
+++ b/backends/alsa/alsa-constants.h
@@ -22,14 +22,35 @@
#include <alsa/asoundlib.h>
#include <libmatemixer/matemixer.h>
+G_BEGIN_DECLS
+
typedef struct {
gchar *name;
gchar *label;
MateMixerStreamControlRole role;
+ gboolean use_default_input;
+ gboolean use_default_output;
} AlsaControlInfo;
+typedef struct {
+ gchar *name;
+ gchar *label;
+ MateMixerSwitchRole role;
+} AlsaSwitchInfo;
+
+typedef struct {
+ gchar *name;
+ gchar *label;
+ gchar *icon;
+} AlsaSwitchOptionInfo;
+
extern const AlsaControlInfo alsa_controls[];
+extern const AlsaSwitchInfo alsa_switches[];
+extern const AlsaSwitchOptionInfo alsa_switch_options[];
+
extern const MateMixerChannelPosition alsa_channel_map_from[];
extern const snd_mixer_selem_channel_id_t alsa_channel_map_to[];
+G_END_DECLS
+
#endif /* ALSA_CONSTANTS_H */