kvm/internal/audio/c
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
..
audio.c Add NULL checks before snd_pcm_close() calls 2025-11-21 22:42:44 +02:00
audio_common.c refactor: Remove subprocess audio infrastructure, use CGO-only 2025-10-07 13:34:03 +03:00
audio_common.h refactor: Remove subprocess audio infrastructure, use CGO-only 2025-10-07 13:34:03 +03:00