OpenCore
1.0.4
OpenCore Bootloader
|
#include <Guid/AppleVariable.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/OcAudioLib.h>
#include <Library/OcMiscLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
#include <Protocol/AppleHda.h>
#include <Protocol/AppleBeepGen.h>
#include <Protocol/AppleVoiceOver.h>
#include "OcAudioInternal.h"
Go to the source code of this file.
Functions | |
CONST CHAR8 * | OcLanguageCodeToString (IN APPLE_VOICE_OVER_LANGUAGE_CODE LanguageCode) |
EFI_STATUS | OcSetVoiceOverLanguage (CONST CHAR8 *Language OPTIONAL) |
EFI_STATUS EFIAPI | InternalOcAudioVoiceOverPlay (IN APPLE_VOICE_OVER_AUDIO_PROTOCOL *This, IN UINT8 File) |
EFI_STATUS EFIAPI | InternalOcAudioVoiceOverSetLanguageCode (IN APPLE_VOICE_OVER_AUDIO_PROTOCOL *This, IN UINT8 LanguageCode) |
EFI_STATUS EFIAPI | InternalOcAudioVoiceOverSetLanguageString (IN APPLE_VOICE_OVER_AUDIO_PROTOCOL *This, IN CONST CHAR8 *LanguageString) |
EFI_STATUS EFIAPI | InternalOcAudioVoiceOverGetLanguage (IN APPLE_VOICE_OVER_AUDIO_PROTOCOL *This, OUT UINT8 *LanguageCode, OUT CONST CHAR8 **LanguageString) |
Variables | |
STATIC CONST APPLE_VOICE_OVER_FILE_MAP | mAppleVoiceOverLocalisedAudioFiles [AppleVoiceOverAudioFileIndexLocalisedMax - AppleVoiceOverAudioFileIndexLocalisedMin] |
STATIC CONST APPLE_VOICE_OVER_FILE_MAP | mAppleVoiceOverNonLocalisedAudioFiles [AppleVoiceOverAudioFileIndexNonLocalisedMax - AppleVoiceOverAudioFileIndexNonLocalisedMin] |
STATIC CONST CHAR8 * | mLanguagePairing [] |
Copyright (C) 2020, vit9696. All rights reserved.
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 OcAudioVoiceOver.c.
EFI_STATUS EFIAPI InternalOcAudioVoiceOverGetLanguage | ( | IN APPLE_VOICE_OVER_AUDIO_PROTOCOL * | This, |
OUT UINT8 * | LanguageCode, | ||
OUT CONST CHAR8 ** | LanguageString ) |
Definition at line 275 of file OcAudioVoiceOver.c.
EFI_STATUS EFIAPI InternalOcAudioVoiceOverPlay | ( | IN APPLE_VOICE_OVER_AUDIO_PROTOCOL * | This, |
IN UINT8 | File ) |
Definition at line 185 of file OcAudioVoiceOver.c.
EFI_STATUS EFIAPI InternalOcAudioVoiceOverSetLanguageCode | ( | IN APPLE_VOICE_OVER_AUDIO_PROTOCOL * | This, |
IN UINT8 | LanguageCode ) |
Definition at line 219 of file OcAudioVoiceOver.c.
EFI_STATUS EFIAPI InternalOcAudioVoiceOverSetLanguageString | ( | IN APPLE_VOICE_OVER_AUDIO_PROTOCOL * | This, |
IN CONST CHAR8 * | LanguageString ) |
Definition at line 237 of file OcAudioVoiceOver.c.
CONST CHAR8 * OcLanguageCodeToString | ( | IN APPLE_VOICE_OVER_LANGUAGE_CODE | LanguageCode | ) |
Convert language code to ASCII string.
[in] | LanguageCode | Code. |
ASCII | string. |
Definition at line 130 of file OcAudioVoiceOver.c.
EFI_STATUS OcSetVoiceOverLanguage | ( | CONST CHAR8 *Language | OPTIONAL | ) |
Set VoiceOver language from string.
[in] | Language | Language string, optional for system. |
EFI_SUCCESS | on success. |
Definition at line 138 of file OcAudioVoiceOver.c.
STATIC CONST APPLE_VOICE_OVER_FILE_MAP mAppleVoiceOverLocalisedAudioFiles[AppleVoiceOverAudioFileIndexLocalisedMax - AppleVoiceOverAudioFileIndexLocalisedMin] |
Definition at line 36 of file OcAudioVoiceOver.c.
STATIC CONST APPLE_VOICE_OVER_FILE_MAP mAppleVoiceOverNonLocalisedAudioFiles[AppleVoiceOverAudioFileIndexNonLocalisedMax - AppleVoiceOverAudioFileIndexNonLocalisedMin] |
Definition at line 70 of file OcAudioVoiceOver.c.
STATIC CONST CHAR8* mLanguagePairing[] |
Definition at line 89 of file OcAudioVoiceOver.c.