Skip to content

Commit

Permalink
BugFix missing test of audio settings
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoherbelin committed Sep 1, 2024
1 parent b72054c commit 7660b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SourceControlWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7660b07

Please sign in to comment.