OpenCore
1.0.4
OpenCore Bootloader
|
#include <Library/OcMainLib.h>
#include <Guid/AppleVariable.h>
#include <Guid/OcVariable.h>
#include <Guid/GlobalVariable.h>
#include <Protocol/AudioDecode.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/DevicePathLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/OcAfterBootCompatLib.h>
#include <Library/OcAppleBootPolicyLib.h>
#include <Library/OcAppleEventLib.h>
#include <Library/OcAppleImageConversionLib.h>
#include <Library/OcAudioLib.h>
#include <Library/OcInputLib.h>
#include <Library/OcAppleKeyMapLib.h>
#include <Library/OcAppleUserInterfaceThemeLib.h>
#include <Library/OcConsoleLib.h>
#include <Library/OcCpuLib.h>
#include <Library/OcDataHubLib.h>
#include <Library/OcDeviceMiscLib.h>
#include <Library/OcDevicePropertyLib.h>
#include <Library/OcDriverConnectionLib.h>
#include <Library/OcFirmwareVolumeLib.h>
#include <Library/OcHashServicesLib.h>
#include <Library/OcMiscLib.h>
#include <Library/OcSmcLib.h>
#include <Library/OcOSInfoLib.h>
#include <Library/PrintLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
Go to the source code of this file.
Data Structures | |
struct | OC_AUDIO_FILE_ |
Typedefs | |
typedef struct OC_AUDIO_FILE_ | OC_AUDIO_FILE |
Functions | |
STATIC VOID * | OcAudioGetFileContents (IN OC_STORAGE_CONTEXT *Storage, IN CONST CHAR8 *BasePath, IN CONST CHAR8 *BaseType, IN BOOLEAN Localised, IN CONST CHAR8 *Extension, IN APPLE_VOICE_OVER_LANGUAGE_CODE LanguageCode, OUT UINT32 *BufferSize) |
STATIC EFI_STATUS EFIAPI | OcAudioAcquireFile (IN VOID *Context, IN CONST CHAR8 *BasePath, IN CONST CHAR8 *BaseType, IN BOOLEAN Localised, IN APPLE_VOICE_OVER_LANGUAGE_CODE LanguageCode, OUT UINT8 **Buffer, OUT UINT32 *BufferSize, OUT EFI_AUDIO_IO_PROTOCOL_FREQ *Frequency, OUT EFI_AUDIO_IO_PROTOCOL_BITS *Bits, OUT UINT8 *Channels) |
STATIC EFI_STATUS EFIAPI | OcAudioReleaseFile (IN VOID *Context, IN UINT8 *Buffer) |
STATIC BOOLEAN | OcShouldPlayChime (IN CONST CHAR8 *Control) |
STATIC VOID EFIAPI | OcAudioExitBootServices (IN EFI_EVENT Event, IN VOID *Context) |
VOID | OcLoadUefiAudioSupport (IN OC_STORAGE_CONTEXT *Storage, IN OC_GLOBAL_CONFIG *Config) |
Variables | |
STATIC EFI_AUDIO_DECODE_PROTOCOL * | mAudioDecodeProtocol = NULL |
OpenCore driver.
Copyright (c) 2019, vit9696. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Definition in file OpenCoreUefiAudio.c.
typedef struct OC_AUDIO_FILE_ OC_AUDIO_FILE |
STATIC EFI_STATUS EFIAPI OcAudioAcquireFile | ( | IN VOID * | Context, |
IN CONST CHAR8 * | BasePath, | ||
IN CONST CHAR8 * | BaseType, | ||
IN BOOLEAN | Localised, | ||
IN APPLE_VOICE_OVER_LANGUAGE_CODE | LanguageCode, | ||
OUT UINT8 ** | Buffer, | ||
OUT UINT32 * | BufferSize, | ||
OUT EFI_AUDIO_IO_PROTOCOL_FREQ * | Frequency, | ||
OUT EFI_AUDIO_IO_PROTOCOL_BITS * | Bits, | ||
OUT UINT8 * | Channels ) |
Definition at line 136 of file OpenCoreUefiAudio.c.
STATIC VOID EFIAPI OcAudioExitBootServices | ( | IN EFI_EVENT | Event, |
IN VOID * | Context ) |
Definition at line 256 of file OpenCoreUefiAudio.c.
STATIC VOID * OcAudioGetFileContents | ( | IN OC_STORAGE_CONTEXT * | Storage, |
IN CONST CHAR8 * | BasePath, | ||
IN CONST CHAR8 * | BaseType, | ||
IN BOOLEAN | Localised, | ||
IN CONST CHAR8 * | Extension, | ||
IN APPLE_VOICE_OVER_LANGUAGE_CODE | LanguageCode, | ||
OUT UINT32 * | BufferSize ) |
Definition at line 59 of file OpenCoreUefiAudio.c.
STATIC EFI_STATUS EFIAPI OcAudioReleaseFile | ( | IN VOID * | Context, |
IN UINT8 * | Buffer ) |
Definition at line 213 of file OpenCoreUefiAudio.c.
VOID OcLoadUefiAudioSupport | ( | IN OC_STORAGE_CONTEXT * | Storage, |
IN OC_GLOBAL_CONFIG * | Config ) |
Load UEFI audio compatibility support.
[in] | Storage | OpenCore storage. |
[out] | Config | OpenCore configuration. |
Definition at line 268 of file OpenCoreUefiAudio.c.
STATIC BOOLEAN OcShouldPlayChime | ( | IN CONST CHAR8 * | Control | ) |
Definition at line 224 of file OpenCoreUefiAudio.c.
STATIC EFI_AUDIO_DECODE_PROTOCOL* mAudioDecodeProtocol = NULL |
Definition at line 55 of file OpenCoreUefiAudio.c.