summaryrefslogtreecommitdiffstats
path: root/include/avirt
diff options
context:
space:
mode:
Diffstat (limited to 'include/avirt')
-rw-r--r--include/avirt/avirt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/avirt/avirt.h b/include/avirt/avirt.h
index 94f03c5..92eb23c 100644
--- a/include/avirt/avirt.h
+++ b/include/avirt/avirt.h
@@ -65,4 +65,10 @@ int snd_avirt_card_seal();
*/
int snd_avirt_pcm_info(const char *pcm_name, snd_pcm_info_t *pcm_info);
+/**
+ * snd_avirt_card_index_get - Get the ALSA card index for an AVIRT card
+ * @avirt_idx: The AVIRT internal index (TD MF: perhaps change to UID?)
+ * @return: The ALSA card index on success, negative ERRNO otherwise
+ */
+int snd_avirt_card_index_get(int avirt_idx);
#endif // _AVIRT_H_