From 32d26371627638570b74d678ab73deb7b87af8e4 Mon Sep 17 00:00:00 2001 From: skal Date: Sat, 31 Jan 2026 17:23:13 +0100 Subject: fix: Cross-compilation and style compliance Fixes seq_compiler build for Windows cross-compilation. Moves common WebGPU compatibility shims to gpu.h. Applies project-wide coding style via clang-format. Verified on both macOS (native) and Windows (cross-compile). --- src/audio/audio.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/audio/audio.cc') 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; } -- cgit v1.2.3