2020-04-04 14:27:02 +02:00
|
|
|
/*
|
|
|
|
* StartupSound.h
|
|
|
|
*
|
|
|
|
* Created on: 4 Apr 2020
|
|
|
|
* Author: jief
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PLATFORM_STARTUPSOUND_H_
|
|
|
|
#define PLATFORM_STARTUPSOUND_H_
|
|
|
|
|
|
|
|
|
2020-04-16 09:15:26 +02:00
|
|
|
#define BOOT_CHIME_VAR_ATTRIBUTES (EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS)
|
|
|
|
#define BOOT_CHIME_VAR_DEVICE (L"Device")
|
|
|
|
#define BOOT_CHIME_VAR_DEVICE_PATH (L"device_path")
|
|
|
|
#define BOOT_CHIME_VAR_INDEX (L"Index")
|
|
|
|
#define BOOT_CHIME_VAR_VOLUME (L"Volume")
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-04-04 14:27:02 +02:00
|
|
|
extern EFI_AUDIO_IO_PROTOCOL *AudioIo;
|
|
|
|
|
|
|
|
|
2020-04-16 09:15:26 +02:00
|
|
|
EFI_STATUS
|
2020-10-03 19:02:31 +02:00
|
|
|
StartupSoundPlay(const EFI_FILE* Dir, CONST CHAR16* SoundFile);
|
2020-04-16 09:15:26 +02:00
|
|
|
|
2020-10-03 19:02:31 +02:00
|
|
|
void GetOutputs();
|
2020-04-16 09:15:26 +02:00
|
|
|
|
2020-06-05 11:43:12 +02:00
|
|
|
EFI_STATUS CheckSyncSound(BOOLEAN Stop);
|
2020-04-16 09:15:26 +02:00
|
|
|
|
2020-04-04 14:27:02 +02:00
|
|
|
#endif /* PLATFORM_STARTUPSOUND_H_ */
|