kvm/internal/audio
Alex P 5ed70083ec Add NULL checks before snd_pcm_close() calls
Defensive programming to prevent undefined behavior when closing ALSA
PCM handles. While the previous commit disabled assertions with -DNDEBUG,
adding explicit NULL checks ensures graceful handling even if handles are
unexpectedly NULL.

All error paths that call snd_pcm_close() now verify the handle is non-NULL
before closing, preventing potential crashes in edge cases.
2025-11-21 22:42:44 +02:00
..
c Add NULL checks before snd_pcm_close() calls 2025-11-21 22:42:44 +02:00
cgo_source.go Integrate libspeexdsp for high-quality audio resampling 2025-11-21 16:29:02 +02:00
cgo_source_stub.go Simplify audio management 2025-11-17 22:21:47 -06:00
relay.go Simplify audio configuration and error handling 2025-11-21 00:54:32 +02:00
source.go Integrate libspeexdsp for high-quality audio resampling 2025-11-21 16:29:02 +02:00