Commit 8b2f4fc8 authored by Tony Miller's avatar Tony Miller Committed by Max Kellermann

Set fadeout in gme_decoder_plugin. Due to the nature of the gme library,

this needs to be done for the end of songs to be detected.
parent 8f99c954
ver 0.16.2 (2011/??/??)
* decoder:
- tremor: fix configure test
- gme: detect end of song
ver 0.16.1 (2011/01/09)
......
......@@ -153,6 +153,9 @@ gme_file_decode(struct decoder *decoder, const char *path_fs)
if((gme_err = gme_start_track(emu, song_num)) != NULL)
g_warning("%s", gme_err);
if(ti->length > 0)
gme_set_fade(emu, ti->length);
/* play */
do {
gme_err = gme_play(emu, GME_BUFFER_SAMPLES, buf);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment