Mercurial > audlegacy-plugins
comparison src/madplug/plugin.c @ 2340:47d7a45b26a0
fixed ${bitrate} in title string
| author | Eugene Zagidullin <e.asphyx@gmail.com> |
|---|---|
| date | Wed, 30 Jan 2008 05:04:15 +0300 |
| parents | 1457b35713d9 |
| children | 59addab003d7 |
comparison
equal
deleted
inserted
replaced
| 2339:b2a2ca9fceda | 2340:47d7a45b26a0 |
|---|---|
| 731 aud_tuple_associate_int(tuple, FIELD_LENGTH, NULL, length); | 731 aud_tuple_associate_int(tuple, FIELD_LENGTH, NULL, length); |
| 732 } | 732 } |
| 733 | 733 |
| 734 aud_tuple_associate_string(tuple, FIELD_QUALITY, NULL, "lossy"); | 734 aud_tuple_associate_string(tuple, FIELD_QUALITY, NULL, "lossy"); |
| 735 aud_tuple_associate_int(tuple, FIELD_BITRATE, NULL, myinfo.bitrate / 1000); | 735 aud_tuple_associate_int(tuple, FIELD_BITRATE, NULL, myinfo.bitrate / 1000); |
| 736 g_free(string); | |
| 737 | 736 |
| 738 string = g_strdup_printf("MPEG-1 Audio Layer %d", myinfo.mpeg_layer); | 737 string = g_strdup_printf("MPEG-1 Audio Layer %d", myinfo.mpeg_layer); |
| 739 aud_tuple_associate_string(tuple, FIELD_CODEC, NULL, string); | 738 aud_tuple_associate_string(tuple, FIELD_CODEC, NULL, string); |
| 740 g_free(string); | 739 g_free(string); |
| 741 | 740 |
