aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor Holberton <taylorcholberton@gmail.com>2016-12-01 16:06:29 -0800
committerTaylor Holberton <taylorcholberton@gmail.com>2016-12-01 16:06:29 -0800
commitba285cfbf416af5fbda1040e3c3ce74165e3e11c (patch)
tree864fd2751e6b08a7423201e0ddfa12fd0f5a04f2
parent319a84845148f562f21d309b294d8ed1b7d86262 (diff)
Added const specifier in pcm_open
The const specifier was added to the struct pcm_config argument.
-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 1f02e9d..c2c67bb 100644
--- a/include/tinyalsa/pcm.h
+++ b/include/tinyalsa/pcm.h
@@ -234,7 +234,7 @@ struct pcm;
struct pcm *pcm_open(unsigned int card,
unsigned int device,
unsigned int flags,
- struct pcm_config *config);
+ const struct pcm_config *config);
int pcm_close(struct pcm *pcm);