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 2bd6292..e887c07 100644
--- a/include/tinyalsa/pcm.h
+++ b/include/tinyalsa/pcm.h
@@ -246,6 +246,8 @@ int pcm_is_ready(const struct pcm *pcm);
unsigned int pcm_get_channels(const struct pcm *pcm);
+const struct pcm_config * pcm_get_config(const struct pcm *pcm);
+
unsigned int pcm_get_rate(const struct pcm *pcm);
enum pcm_format pcm_get_format(const struct pcm *pcm);
@@ -254,6 +256,8 @@ int pcm_get_file_descriptor(const struct pcm *pcm);
const char *pcm_get_error(const struct pcm *pcm);
+int pcm_set_config(const struct pcm_config *config);
+
unsigned int pcm_format_to_bits(enum pcm_format format);
unsigned int pcm_get_buffer_size(const struct pcm *pcm);