mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OpenCanopy: Fix timeout sound in audio assistant
This commit is contained in:
parent
b8843e6dcd
commit
c23174e701
@ -1273,6 +1273,13 @@ GuiDrawLoop (
|
||||
//
|
||||
if (TimeOutSeconds > 0
|
||||
&& GetTimeInNanoSecond (NewLastTsc - LoopStartTsc) >= TimeOutSeconds * 1000000000ULL) {
|
||||
if (DrawContext->GuiContext->PickerContext->PickerAudioAssist) {
|
||||
DrawContext->GuiContext->PickerContext->PlayAudioFile (
|
||||
DrawContext->GuiContext->PickerContext,
|
||||
OcVoiceOverAudioFileTimeout,
|
||||
FALSE
|
||||
);
|
||||
}
|
||||
DrawContext->GuiContext->ReadyToBoot = TRUE;
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user