Mercurial > audlegacy-plugins
diff src/madplug/decoder.c @ 1985:a260bd1beef0
use set_params() in madplug
| author | William Pitcock <nenolod@atheme.org> |
|---|---|
| date | Sun, 07 Oct 2007 14:26:26 -0500 |
| parents | fa9f85cebade |
| children | 8f3188746b64 |
line wrap: on
line diff
--- a/src/madplug/decoder.c Sun Oct 07 14:19:19 2007 -0500 +++ b/src/madplug/decoder.c Sun Oct 07 14:26:26 2007 -0500 @@ -486,7 +486,7 @@ audmad_config.id3_format : get_gentitle_format()); tlen = (gint) mad_timer_count(info->duration, MAD_UNITS_MILLISECONDS), - mad_plugin->set_info(info->title, + info->playback->set_params(info->playback, info->title, (tlen == 0 || info->size <= 0) ? -1 : tlen, info->bitrate, info->freq, info->channels); #ifdef DEBUG @@ -613,7 +613,7 @@ g_message("decode vbr tlen = %d", tlen); #endif #endif - mad_plugin->set_info(info->title, + info->playback->set_params(info->playback, info->title, (tlen == 0 || info->size <= 0) ? -1 : tlen, info->bitrate, info->freq, info->channels); }
