aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer_api.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mixer_api.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mixer_api.h b/src/mixer_api.h
index 61f6c06f2..55aa7684c 100644
--- a/src/mixer_api.h
+++ b/src/mixer_api.h
@@ -28,7 +28,8 @@ struct mixer_plugin {
/**
* Setup and configure mixer
*/
- void (*configure)(struct mixer_data *data, struct config_param *param);
+ void (*configure)(struct mixer_data *data,
+ const struct config_param *param);
/**
* Open mixer device
@@ -53,7 +54,7 @@ struct mixer {
void mixer_init(struct mixer *mixer, struct mixer_plugin *plugin);
void mixer_finish(struct mixer *mixer);
-void mixer_configure(struct mixer *mixer, struct config_param *param);
+void mixer_configure(struct mixer *mixer, const struct config_param *param);
bool mixer_open(struct mixer *mixer);
bool mixer_control(struct mixer *mixer, int cmd, void *arg);
void mixer_close(struct mixer *mixer);