Mercurial > audlegacy-plugins
comparison src/madplug/decoder.c @ 2055:2f2ffbc2d04d
gentitle changes
| author | William Pitcock <nenolod@atheme.org> |
|---|---|
| date | Sat, 13 Oct 2007 20:43:07 -0500 |
| parents | 8f3188746b64 |
| children | 9a869d4bb0d3 |
comparison
equal
deleted
inserted
replaced
| 2054:f7deb2ae6f0a | 2055:2f2ffbc2d04d |
|---|---|
| 481 | 481 |
| 482 /* set mainwin title */ | 482 /* set mainwin title */ |
| 483 if (info->title) | 483 if (info->title) |
| 484 g_free(info->title); | 484 g_free(info->title); |
| 485 info->title = aud_tuple_formatter_make_title_string(info->tuple, audmad_config.title_override == TRUE ? | 485 info->title = aud_tuple_formatter_make_title_string(info->tuple, audmad_config.title_override == TRUE ? |
| 486 audmad_config.id3_format : get_gentitle_format()); | 486 audmad_config.id3_format : aud_get_gentitle_format()); |
| 487 | 487 |
| 488 tlen = (gint) mad_timer_count(info->duration, MAD_UNITS_MILLISECONDS), | 488 tlen = (gint) mad_timer_count(info->duration, MAD_UNITS_MILLISECONDS), |
| 489 info->playback->set_params(info->playback, info->title, | 489 info->playback->set_params(info->playback, info->title, |
| 490 (tlen == 0 || info->size <= 0) ? -1 : tlen, | 490 (tlen == 0 || info->size <= 0) ? -1 : tlen, |
| 491 info->bitrate, info->freq, info->channels); | 491 info->bitrate, info->freq, info->channels); |
