conf: const pointers in block get functions
All config_get_block_*() functions should accept constant config_param pointers.
This commit is contained in:
@@ -20,7 +20,7 @@ void mixer_finish(struct mixer *mixer)
|
||||
mixer->plugin = NULL;
|
||||
}
|
||||
|
||||
void mixer_configure(struct mixer *mixer, struct config_param *param)
|
||||
void mixer_configure(struct mixer *mixer, const struct config_param *param)
|
||||
{
|
||||
assert(mixer != NULL && mixer->plugin != NULL);
|
||||
mixer->plugin->configure(mixer->data, param);
|
||||
|
Reference in New Issue
Block a user