Support muting sims

This commit is contained in:
2024-11-23 20:17:32 -05:00
parent 0f536fdd88
commit 4b34d138ac
3 changed files with 49 additions and 7 deletions
+1
View File
@@ -120,6 +120,7 @@ extern "C" fn on_frame(sim: *mut VB) -> i32 {
const AUDIO_CAPACITY_SAMPLES: usize = 834 * 4;
const AUDIO_CAPACITY_FLOATS: usize = AUDIO_CAPACITY_SAMPLES * 2;
pub const EXPECTED_FRAME_SIZE: usize = 834 * 2;
struct VBState {
frame_seen: bool,