aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-08-07 14:10:28 +0200
committerTakashi Iwai <tiwai@suse.de>2007-08-07 14:10:28 +0200
commitbd222a02b4154ef93ebfd0d72eb23df4050f38ed (patch)
tree7ae74b668f3617541e016e1dd06e8c81550f3246
parent8c5578df98eb960ee388863cba085ae269431e87 (diff)
downloadsalsa-lib-bd222a02b4154ef93ebfd0d72eb23df4050f38ed.tar.gz
Add missing function declarations
-rw-r--r--src/control.h9
-rw-r--r--src/mixer.h3
2 files changed, 12 insertions, 0 deletions
diff --git a/src/control.h b/src/control.h
index c702e65..57be1b6 100644
--- a/src/control.h
+++ b/src/control.h
@@ -60,4 +60,13 @@ int snd_async_add_ctl_handler(snd_async_handler_t **handler, snd_ctl_t *ctl,
#define snd_ctl_elem_info_alloca(ptr) __snd_alloca(ptr, snd_ctl_elem_info)
#define snd_ctl_elem_value_alloca(ptr) __snd_alloca(ptr, snd_ctl_elem_value)
+int snd_ctl_elem_add_integer(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id,
+ unsigned int count, long min, long max, long step);
+int snd_ctl_elem_add_integer64(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id,
+ unsigned int count, long long min, long long max,
+ long long step);
+int snd_ctl_elem_add_boolean(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id,
+ unsigned int count);
+int snd_ctl_elem_add_iec958(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id);
+
#endif /* __ALSA_CONTROL_H */
diff --git a/src/mixer.h b/src/mixer.h
index b7749fd..3fbafa4 100644
--- a/src/mixer.h
+++ b/src/mixer.h
@@ -65,6 +65,9 @@ int snd_mixer_selem_set_capture_volume_range(snd_mixer_elem_t *elem,
int snd_mixer_selem_set_enum_item(snd_mixer_elem_t *elem,
snd_mixer_selem_channel_id_t channel,
unsigned int idx);
+int snd_mixer_selem_get_enum_item_name(snd_mixer_elem_t *elem,
+ unsigned int idx,
+ size_t maxlen, char *str);
#include "mixer_macros.h"