From b1b11194b2e4b921c146a7ab804ed99fd11e4b01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sat, 15 Feb 2025 15:07:59 +0100 Subject: [PATCH] Sound (Haiku): fix runtime error getting mute status sizeof(bool) is only 1. --- src/detection/sound/sound_haiku.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detection/sound/sound_haiku.cpp b/src/detection/sound/sound_haiku.cpp index eb31d76aab..ba2dd7aeb8 100644 --- a/src/detection/sound/sound_haiku.cpp +++ b/src/detection/sound/sound_haiku.cpp @@ -72,7 +72,7 @@ const char* ffDetectSound(FFlist* devices /* List of FFSoundDevice */) if (mute) { - bool isMute = false; + int32 isMute = false; size = sizeof(isMute); if (mute->GetValue(&isMute, &size, &when) == B_OK && isMute) return NULL;