diff options
Diffstat (limited to 'src/audio/audio.cc')
| -rw-r--r-- | src/audio/audio.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audio/audio.cc b/src/audio/audio.cc index a1a6f7b..4341712 100644 --- a/src/audio/audio.cc +++ b/src/audio/audio.cc @@ -56,7 +56,8 @@ void audio_render_silent(float duration_sec) { float buffer[chunk_size * 2]; // Stereo while (total_frames > 0) { - int frames_to_render = (total_frames > chunk_size) ? chunk_size : total_frames; + int frames_to_render = + (total_frames > chunk_size) ? chunk_size : total_frames; synth_render(buffer, frames_to_render); total_frames -= frames_to_render; } |
