mixer_plugin: pass audio_output pointer to mixer_plugin.init()

This allows the mixer object to access its associated audio output
object.
This commit is contained in:
Max Kellermann
2009-10-21 09:48:41 +02:00
parent b8ccc885c8
commit ac32f36e4e
9 changed files with 21 additions and 13 deletions

View File

@@ -58,7 +58,7 @@ int main(int argc, G_GNUC_UNUSED char **argv)
g_thread_init(NULL);
mixer = mixer_new(&alsa_mixer_plugin, NULL, &error);
mixer = mixer_new(&alsa_mixer_plugin, NULL, NULL, &error);
if (mixer == NULL) {
g_printerr("mixer_new() failed: %s\n", error->message);
g_error_free(error);