From 04b47b083101a6855557cde6d638e1e3f26095bb Mon Sep 17 00:00:00 2001 From: Taylor Holberton Date: Mon, 10 Apr 2017 12:36:15 -0700 Subject: corrected set_config function --- include/tinyalsa/pcm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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); -- cgit v1.2.3