From 7660b07fa8a536457a10d4f453355a660b1af9c7 Mon Sep 17 00:00:00 2001 From: Bruno Herbelin Date: Sun, 1 Sep 2024 23:48:42 +0200 Subject: [PATCH] BugFix missing test of audio settings --- src/SourceControlWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SourceControlWindow.cpp b/src/SourceControlWindow.cpp index 4f47e147..11c3c2ce 100644 --- a/src/SourceControlWindow.cpp +++ b/src/SourceControlWindow.cpp @@ -2078,7 +2078,7 @@ void SourceControlWindow::RenderMediaPlayer(MediaSource *ms) ImGui::PopStyleColor(1); ImGui::SetCursorScreenPos(imgarea.GetTL() + ImVec2(h_space_, v_space_)); - if ( ms->audioFlags() & Source::Audio_enabled ) + if ( Settings::application.accept_audio && ms->audioFlags() & Source::Audio_enabled ) // Icon to inform audio decoding ImGui::Text("%s " ICON_FA_VOLUME_UP, ms->initials()); else