Mercurial > audlegacy
diff src/audacious/output.c @ 3709:a89a12aa4f2c
Add InputPlayback::pass_audio() which replaces produce_audio().
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Mon, 08 Oct 2007 01:43:58 -0500 |
parents | 6f4068a0f291 |
children | bce5ac1f368b |
line wrap: on
line diff
--- a/src/audacious/output.c Mon Oct 08 01:36:41 2007 -0500 +++ b/src/audacious/output.c Mon Oct 08 01:43:58 2007 -0500 @@ -412,7 +412,7 @@ /* called by input plugin when data is ready */ void -produce_audio(gint unused, /* will become InputPlayback soon */ +output_pass_audio(InputPlayback *playback, AFormat fmt, /* output format */ gint nch, /* channels */ gint length, /* length of sample */ @@ -421,7 +421,6 @@ ) { static Flow *postproc_flow = NULL; - InputPlayback *playback = get_current_input_playback(); OutputPlugin *op = playback->output; gint writeoffs; gint time = playback->output->written_time();