From 3240f7ba8f74b3608ab9c7eec899da5932bfae75 Mon Sep 17 00:00:00 2001 From: Bastian Blokland Date: Thu, 19 Sep 2024 20:13:04 +0300 Subject: [PATCH] snd: Cleanup comment --- libs/snd/src/device_pal_linux_alsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/snd/src/device_pal_linux_alsa.c b/libs/snd/src/device_pal_linux_alsa.c index fb6471e72..a8f36615d 100644 --- a/libs/snd/src/device_pal_linux_alsa.c +++ b/libs/snd/src/device_pal_linux_alsa.c @@ -471,11 +471,11 @@ bool snd_device_begin(SndDevice* dev) { } } - // Query the device-status to check if there's a period ready for rendering. if (UNLIKELY(dev->state == SndDeviceState_Error)) { return false; // Device is in an unrecoverable error state. } + // Query the device-status to check if there's a period ready for rendering. const AlsaPcmStatus status = alsa_pcm_query(dev); switch (status.error) { case AlsaPcmError_None: