diff options
author | Taylor Holberton <taylorcholberton@gmail.com> | 2016-12-01 16:06:29 -0800 |
---|---|---|
committer | Taylor Holberton <taylorcholberton@gmail.com> | 2016-12-01 16:06:29 -0800 |
commit | ba285cfbf416af5fbda1040e3c3ce74165e3e11c (patch) | |
tree | 864fd2751e6b08a7423201e0ddfa12fd0f5a04f2 /include | |
parent | 319a84845148f562f21d309b294d8ed1b7d86262 (diff) |
Added const specifier in pcm_open
The const specifier was added to the struct pcm_config argument.
Diffstat (limited to 'include')
-rw-r--r-- | include/tinyalsa/pcm.h | 2 |
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); |