summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorZephyron <zephyron@citron-emu.org>2025-02-08 19:19:52 +1000
committerZephyron <zephyron@citron-emu.org>2025-02-08 19:19:52 +1000
commit3aa9c0d1518ceec8e3f9ad93efa84bf90e1f1b21 (patch)
tree2c36951f1a9c47f2af4033cc087d00a5e88902df /src/core
parent7b6495aced8b40f823c120cd3b2ea42e1a74824c (diff)
audio: refactor SDL2 sink implementation
- Move SDLSinkStream class definition to header file - Add additional error checking for SDL audio device availability - Limit audio channels to stereo - Add format verification and warning messages - Improve audio device initialization with better error handling - Rename device variable to audio_device_id for clarity - Add running state flag - Update copyright header to include citron This refactoring improves error handling and provides better debug information when audio device initialization fails. The implementation is now more robust and provides clearer feedback for troubleshooting audio issues.
Diffstat (limited to 'src/core')
0 files changed, 0 insertions, 0 deletions