aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTaylor Holberton <taylorcholberton@gmail.com>2017-04-10 12:36:15 -0700
committerTaylor Holberton <taylorcholberton@gmail.com>2017-04-10 12:36:15 -0700
commit04b47b083101a6855557cde6d638e1e3f26095bb (patch)
tree4748f7a44e051b27ae39177522c3412c0cf26ddb /include
parent861da7ab0565d150bcd5ceb1e6fb812516e4cfee (diff)
corrected set_config function
Diffstat (limited to 'include')
-rw-r--r--include/tinyalsa/pcm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tinyalsa/pcm.h b/include/tinyalsa/pcm.h
index e887c07..01f8b9d 100644
--- a/include/tinyalsa/pcm.h
+++ b/include/tinyalsa/pcm.h
@@ -256,7 +256,7 @@ 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);
+int pcm_set_config(struct pcm *pcm, const struct pcm_config *config);
unsigned int pcm_format_to_bits(enum pcm_format format);