Mercurial > audlegacy-plugins
diff src/mpg123/layer1.c @ 561:914c96de3244 trunk
[svn] Convert plugins to use InputPlayback.output instead of InputPlugin.output
author | iabervon |
---|---|
date | Sun, 28 Jan 2007 21:09:12 -0800 |
parents | 3da1b8942b8b |
children | 997496d252d4 |
line wrap: on
line diff
--- a/src/mpg123/layer1.c Sun Jan 28 17:41:50 2007 -0800 +++ b/src/mpg123/layer1.c Sun Jan 28 21:09:12 2007 -0800 @@ -118,7 +118,7 @@ } int -mpgdec_do_layer1(struct frame *fr) +mpgdec_do_layer1(InputPlayback *playback, struct frame *fr) { int i, stereo = fr->stereo; unsigned int balloc[2 * SBLIMIT]; @@ -152,7 +152,7 @@ psycho_process(mpgdec_pcm_sample, mpgdec_pcm_point, mpgdec_cfg.channels == 2 ? fr->stereo : 1); #endif if (mpgdec_info->output_audio && mpgdec_info->jump_to_time == -1) { - produce_audio(mpgdec_ip.output->written_time(), + produce_audio(playback->output->written_time(), mpgdec_cfg.resolution == 16 ? FMT_S16_NE : FMT_U8, mpgdec_cfg.channels ==