aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mixer_api.h')
-rw-r--r--src/mixer_api.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/mixer_api.h b/src/mixer_api.h
index cc0d8327f..50a9cb165 100644
--- a/src/mixer_api.h
+++ b/src/mixer_api.h
@@ -31,11 +31,10 @@ extern const struct mixer_plugin oss_mixer;
struct mixer_data;
struct mixer_plugin {
-
- /**
- * Allocate and initialize mixer data
+ /**
+ * Alocates and configures a mixer device.
*/
- struct mixer_data *(*init)(void);
+ struct mixer_data *(*init)(const struct config_param *param);
/**
* Finish and free mixer data
@@ -43,12 +42,6 @@ struct mixer_plugin {
void (*finish)(struct mixer_data *data);
/**
- * Setup and configure mixer
- */
- void (*configure)(struct mixer_data *data,
- const struct config_param *param);
-
- /**
* Open mixer device
*/
bool (*open)(struct mixer_data *data);
@@ -69,7 +62,6 @@ struct mixer {
struct mixer_data *data;
};
-void mixer_init(struct mixer *mixer, const struct mixer_plugin *plugin);
void mixer_finish(struct mixer *mixer);
struct mixer *