summaryrefslogtreecommitdiff
path: root/src/tests/test_texture_manager.cc
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-04 13:10:57 +0100
committerskal <pascal.massimino@gmail.com>2026-02-04 13:10:57 +0100
commitbb49daa17cfbb244a239b620372eaf27ed252b0f (patch)
treed6272414920748a7b5744c896a8bc79b3f1a32aa /src/tests/test_texture_manager.cc
parentc4888bea71326f7a69e8214af0d9c2a62a60b887 (diff)
feat(audio): Implement mock audio backend for testing (Task #51.2)
Created MockAudioBackend for deterministic audio event recording and timing verification. Enables robust tracker synchronization testing. Changes: - Created VoiceTriggerEvent structure (timestamp, spec_id, volume, pan) - Implemented MockAudioBackend with event recording capabilities - Added time tracking: manual (advance_time) and automatic (on_frames_rendered) - Created test_mock_backend.cc with 6 comprehensive test scenarios - Verified synth integration and audio_render_silent compatibility - Added to CMake test builds All test infrastructure guarded by #if !defined(STRIP_ALL). Zero size impact on production build. All 14 tests pass. handoff(Claude): Task #51.2 complete, mock backend ready for tracker tests Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'src/tests/test_texture_manager.cc')
0 files changed, 0 insertions, 0 deletions