diff options
author | Taylor Holberton <taylorcholberton@gmail.com> | 2016-12-01 15:57:09 -0800 |
---|---|---|
committer | Taylor Holberton <taylorcholberton@gmail.com> | 2016-12-01 15:57:09 -0800 |
commit | 5b9db5b8889498581a9d719400b1279a3babb444 (patch) | |
tree | 97197e47c3ff33be90c8ec28655a1c91ac835c23 /include | |
parent | f42051ce4de1a3b2655c2cab778338fe66ee9580 (diff) |
Added const specifier to params functions
Funtions changed are:
- pcm_params_get_mask
- pcm_params_get_min
- pcm_params_get_max
Diffstat (limited to 'include')
-rw-r--r-- | include/tinyalsa/pcm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/tinyalsa/pcm.h b/include/tinyalsa/pcm.h index 3d9dfaa..1f02e9d 100644 --- a/include/tinyalsa/pcm.h +++ b/include/tinyalsa/pcm.h @@ -223,11 +223,11 @@ struct pcm_params *pcm_params_get(unsigned int card, unsigned int device, void pcm_params_free(struct pcm_params *pcm_params); -struct pcm_mask *pcm_params_get_mask(struct pcm_params *pcm_params, enum pcm_param param); +const struct pcm_mask *pcm_params_get_mask(const struct pcm_params *pcm_params, enum pcm_param param); -unsigned int pcm_params_get_min(struct pcm_params *pcm_params, enum pcm_param param); +unsigned int pcm_params_get_min(const struct pcm_params *pcm_params, enum pcm_param param); -unsigned int pcm_params_get_max(struct pcm_params *pcm_params, enum pcm_param param); +unsigned int pcm_params_get_max(const struct pcm_params *pcm_params, enum pcm_param param); struct pcm; |