mirror of https://github.com/auygun/kaliber.git
Fix for looping audio
This commit is contained in:
parent
1b9faac310
commit
467e73d3a8
|
@ -235,7 +235,7 @@ void AudioMixer::RenderAudio(float* output_buffer, size_t num_frames) {
|
|||
src_index %= num_samples;
|
||||
|
||||
if (audio_bus->EndOfStream()) {
|
||||
marked_for_removal = true;
|
||||
marked_for_removal = !(flags & kLoop);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue