aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'include/tinyalsa')
-rw-r--r--include/tinyalsa/asoundlib.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/tinyalsa/asoundlib.h b/include/tinyalsa/asoundlib.h
index 75e5cda..4b6e4ec 100644
--- a/include/tinyalsa/asoundlib.h
+++ b/include/tinyalsa/asoundlib.h
@@ -147,6 +147,12 @@ enum mixer_ctl_type {
147 MIXER_CTL_TYPE_MAX, 147 MIXER_CTL_TYPE_MAX,
148}; 148};
149 149
150#ifdef OMAP_ENHANCEMENT
151#define MAX_CARD_COUNT 32
152
153int mixer_get_card_name(int card, char *str, size_t strlen);
154#endif
155
150/* Open and close a stream */ 156/* Open and close a stream */
151struct pcm *pcm_open(unsigned int card, unsigned int device, 157struct pcm *pcm_open(unsigned int card, unsigned int device,
152 unsigned int flags, struct pcm_config *config); 158 unsigned int flags, struct pcm_config *config);