PulseAudio: Stop firing the stop callback in response to a suspension.

This commit is contained in:
David Reid
2025-12-26 19:26:43 +10:00
parent 521c224b02
commit c6d44b67e1
-2
View File
@@ -32448,10 +32448,8 @@ static void ma_device_on_suspended__pulseaudio(ma_pa_stream* pStream, void* pUse
if (suspended == 1) {
ma_log_post(ma_device_get_log(pDevice), MA_LOG_LEVEL_DEBUG, "[Pulse] Device suspended state changed. Suspended.");
ma_device_post_notification_stopped(pDevice);
} else {
ma_log_post(ma_device_get_log(pDevice), MA_LOG_LEVEL_DEBUG, "[Pulse] Device suspended state changed. Resumed.");
ma_device_post_notification_started(pDevice);
}
}