mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-28 00:20:47 +01:00
Fix TXTP 'ignore fade' not working properly in winamp/foobar
This commit is contained in:
parent
6272e4f3d9
commit
a30e28cb94
@ -601,12 +601,12 @@ void input_vgmstream::apply_config(VGMSTREAM * vgmstream, foobar_song_config *cu
|
||||
}
|
||||
if (current->song_ignore_loop) {
|
||||
vgmstream_force_loop(vgmstream, 0, 0,0);
|
||||
current->song_fade_time = 0;
|
||||
}
|
||||
|
||||
/* loop N times, but also play stream end instead of fading out */
|
||||
if (current->song_loop_count > 0 && current->song_ignore_fade) {
|
||||
vgmstream_set_loop_target(vgmstream, (int)current->song_loop_count);
|
||||
current->song_fade_time = 0; /* force no fade */
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -993,12 +993,12 @@ static void apply_config(VGMSTREAM * vgmstream, winamp_song_config *current) {
|
||||
}
|
||||
if (current->song_ignore_loop) {
|
||||
vgmstream_force_loop(vgmstream, 0, 0,0);
|
||||
current->song_fade_time = 0;
|
||||
}
|
||||
|
||||
/* loop N times, but also play stream end instead of fading out */
|
||||
if (current->song_loop_count > 0 && current->song_ignore_fade) {
|
||||
vgmstream_set_loop_target(vgmstream, (int)current->song_loop_count);
|
||||
current->song_fade_time = 0; /* force no fade */
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user