aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/tinyalsa/pcm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/tinyalsa/pcm.h b/include/tinyalsa/pcm.h
index 9157b9b..b7c32b3 100644
--- a/include/tinyalsa/pcm.h
+++ b/include/tinyalsa/pcm.h
@@ -236,6 +236,10 @@ struct pcm *pcm_open(unsigned int card,
unsigned int flags,
const struct pcm_config *config);
+struct pcm *pcm_open_by_name(const char *name,
+ unsigned int flags,
+ const struct pcm_config *config);
+
int pcm_close(struct pcm *pcm);
int pcm_is_ready(const struct pcm *pcm);