Sound (Haiku): fix runtime error getting mute status

sizeof(bool) is only 1.
This commit is contained in:
François Revol
2025-02-15 15:07:59 +01:00
committed by Carter Li
parent 519dae9462
commit c1c59cff6d
+1 -1
View File
@@ -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;