Fix disabling play forever undone by reset (affects foobar convert file)

This commit is contained in:
bnnm 2020-08-19 18:40:56 +02:00
parent 2da75c95fd
commit 69b99e1954

View File

@ -57,6 +57,7 @@ void vgmstream_set_play_forever(VGMSTREAM* vgmstream, int enabled) {
* (play config is left untouched, should mix ok as this flag is only used during
* render, while config is always prepared as if play forever wasn't enabled) */
vgmstream->config.play_forever = enabled;
setup_vgmstream(vgmstream); /* update config */
}
int32_t vgmstream_get_samples(VGMSTREAM* vgmstream) {