mixer: make all mixer_plugin pointers const

The plugin structures must never be modified.
This commit is contained in:
Max Kellermann
2009-01-25 17:37:52 +01:00
parent 899eb5383d
commit ad8561bfdc
4 changed files with 7 additions and 7 deletions

View File

@@ -21,7 +21,7 @@
#include "mixer_api.h"
void mixer_init(struct mixer *mixer, struct mixer_plugin *plugin)
void mixer_init(struct mixer *mixer, const struct mixer_plugin *plugin)
{
assert(plugin != NULL);
assert(mixer != NULL);