OpenCore
1.0.4
OpenCore Bootloader
|
Go to the source code of this file.
Data Structures | |
struct | APPLE_VOICE_OVER_AUDIO_PROTOCOL_ |
Macros | |
#define | APPLE_VOICE_OVER_AUDIO_PROTOCOL_GUID |
#define | APPLE_VOICE_OVER_AUDIO_PROTOCOL_REVISION 0x10000 |
#define | APPLE_VOICE_OVER_AUDIO_FILE_VOICE_OVER_ON "VoiceOverOn" |
#define | APPLE_VOICE_OVER_AUDIO_FILE_VOICE_OVER_OFF "VoiceOverOff" |
#define | APPLE_VOICE_OVER_AUDIO_FILE_USERNAME "Username" |
#define | APPLE_VOICE_OVER_AUDIO_FILE_PASSWORD "Password" |
#define | APPLE_VOICE_OVER_AUDIO_FILE_USERNAME_OR_PASSWORD_INCORRECT "UsernameOrPasswordIncorrect" |
#define | APPLE_VOICE_OVER_AUDIO_FILE_ACCOUNT_LOCKED_TRY_LATER "AccountLockedTryLater" |
#define | APPLE_VOICE_OVER_AUDIO_FILE_ACCOUNT_LOCKED "AccountLocked" |
#define | APPLE_VOICE_OVER_AUDIO_FILE_VOICE_OVER_BOOT "VoiceOver_Boot" |
#define | APPLE_VOICE_OVER_AUDIO_FILE_CLICK "Click" |
#define | APPLE_VOICE_OVER_AUDIO_FILE_BEEP "Beep" |
Typedefs | |
typedef struct APPLE_VOICE_OVER_AUDIO_PROTOCOL_ | APPLE_VOICE_OVER_AUDIO_PROTOCOL |
typedef EFI_STATUS(EFIAPI * | APPLE_VOICE_OVER_AUDIO_PLAY) (IN APPLE_VOICE_OVER_AUDIO_PROTOCOL *This, IN UINT8 File) |
typedef EFI_STATUS(EFIAPI * | APPLE_VOICE_OVER_AUDIO_SET_LANGUAGE_CODE) (IN APPLE_VOICE_OVER_AUDIO_PROTOCOL *This, IN UINT8 LanguageCode) |
typedef EFI_STATUS(EFIAPI * | APPLE_VOICE_OVER_AUDIO_SET_LANGUAGE_STRING) (IN APPLE_VOICE_OVER_AUDIO_PROTOCOL *This, IN CONST CHAR8 *LanguageString) |
typedef EFI_STATUS(EFIAPI * | APPLE_VOICE_OVER_AUDIO_GET_LANGUAGE) (IN APPLE_VOICE_OVER_AUDIO_PROTOCOL *This, OUT UINT8 *LanguageCode, OUT CONST CHAR8 **LanguageString) |
Variables | |
EFI_GUID | gAppleVOAudioProtocolGuid |
Apple VoiceOver Audio protocol.
Copyright (C) 2020, 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 AppleVoiceOver.h.
#define APPLE_VOICE_OVER_AUDIO_FILE_ACCOUNT_LOCKED "AccountLocked" |
Definition at line 70 of file AppleVoiceOver.h.
#define APPLE_VOICE_OVER_AUDIO_FILE_ACCOUNT_LOCKED_TRY_LATER "AccountLockedTryLater" |
Definition at line 69 of file AppleVoiceOver.h.
#define APPLE_VOICE_OVER_AUDIO_FILE_BEEP "Beep" |
Definition at line 73 of file AppleVoiceOver.h.
#define APPLE_VOICE_OVER_AUDIO_FILE_CLICK "Click" |
Definition at line 72 of file AppleVoiceOver.h.
#define APPLE_VOICE_OVER_AUDIO_FILE_PASSWORD "Password" |
Definition at line 67 of file AppleVoiceOver.h.
#define APPLE_VOICE_OVER_AUDIO_FILE_USERNAME "Username" |
Definition at line 66 of file AppleVoiceOver.h.
#define APPLE_VOICE_OVER_AUDIO_FILE_USERNAME_OR_PASSWORD_INCORRECT "UsernameOrPasswordIncorrect" |
Definition at line 68 of file AppleVoiceOver.h.
#define APPLE_VOICE_OVER_AUDIO_FILE_VOICE_OVER_BOOT "VoiceOver_Boot" |
Definition at line 71 of file AppleVoiceOver.h.
#define APPLE_VOICE_OVER_AUDIO_FILE_VOICE_OVER_OFF "VoiceOverOff" |
Definition at line 65 of file AppleVoiceOver.h.
#define APPLE_VOICE_OVER_AUDIO_FILE_VOICE_OVER_ON "VoiceOverOn" |
Corresponding file base names.
Definition at line 64 of file AppleVoiceOver.h.
#define APPLE_VOICE_OVER_AUDIO_PROTOCOL_GUID |
Apple VoiceOver Audio protocol GUID. This protocol is present on Gibraltar Macs (ones with T1/T2 and custom HDA). F4CB0B78-243B-11E7-A524-B8E8562CBAFA
Definition at line 23 of file AppleVoiceOver.h.
#define APPLE_VOICE_OVER_AUDIO_PROTOCOL_REVISION 0x10000 |
Apple VoiceOver Audio protocol revision.
Definition at line 32 of file AppleVoiceOver.h.
typedef EFI_STATUS(EFIAPI * APPLE_VOICE_OVER_AUDIO_GET_LANGUAGE) (IN APPLE_VOICE_OVER_AUDIO_PROTOCOL *This, OUT UINT8 *LanguageCode, OUT CONST CHAR8 **LanguageString) |
Get current VoiceOver language.
[in] | This | VoiceOver protocol instance. |
[out] | LanguageCode | Current language code (e.g. AppleVoiceOverLanguageRu). |
[out] | LanguageString | Current language string (e.g. ru) or NULL. |
EFI_SUCCESS | on successful language update. |
EFI_INVALID_PARAMETER | when the language is unsupported. |
Definition at line 177 of file AppleVoiceOver.h.
typedef EFI_STATUS(EFIAPI * APPLE_VOICE_OVER_AUDIO_PLAY) (IN APPLE_VOICE_OVER_AUDIO_PROTOCOL *This, IN UINT8 File) |
Play audio file.
[in] | This | VoiceOver protocol instance. |
[in] | File | File to play. |
EFI_SUCCESS | on successful playback startup. |
EFI_NOT_FOUND | when audio device is missing. |
EFI_INVALID_PARAMETER | when audio file is not valid. |
Definition at line 128 of file AppleVoiceOver.h.
typedef struct APPLE_VOICE_OVER_AUDIO_PROTOCOL_ APPLE_VOICE_OVER_AUDIO_PROTOCOL |
Definition at line 27 of file AppleVoiceOver.h.
typedef EFI_STATUS(EFIAPI * APPLE_VOICE_OVER_AUDIO_SET_LANGUAGE_CODE) (IN APPLE_VOICE_OVER_AUDIO_PROTOCOL *This, IN UINT8 LanguageCode) |
Set language for VoiceOver support via code.
[in] | This | VoiceOver protocol instance. |
[in] | LanguageCode | Language code (e.g. AppleVoiceOverLanguageEn). |
EFI_SUCCESS | on successful language update. |
EFI_INVALID_PARAMETER | when the language is unsupported. |
Definition at line 144 of file AppleVoiceOver.h.
typedef EFI_STATUS(EFIAPI * APPLE_VOICE_OVER_AUDIO_SET_LANGUAGE_STRING) (IN APPLE_VOICE_OVER_AUDIO_PROTOCOL *This, IN CONST CHAR8 *LanguageString) |
Set language for VoiceOver support via string.
[in] | This | VoiceOver protocol instance. |
[in] | LanguageString | Language string (e.g. ru or ru-RU). |
EFI_SUCCESS | on successful language update. |
EFI_INVALID_PARAMETER | when the language is unsupported. |
Definition at line 160 of file AppleVoiceOver.h.
These files can be found either on BridgeOS volume: /System/Library/PrivateFrameworks/BridgeAccessibilitySupport.framework/AXEFIAudio_[ru]_[VoiceOverOn].aiff Here language code (ru) can be both full (ru_RU) and short (ru). For unlocalised files language code can be missing entirely, e.g. AXEFIAudio_Beep.aiff. Or in /Volumes/Preboot/.../System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/sound.efires For preboot the file format is sound_SCREFIAudio.VoiceOverOn. Files marked with * are only present on BridgeOS.
Definition at line 43 of file AppleVoiceOver.h.
VoiceOver language codes.
Definition at line 78 of file AppleVoiceOver.h.
|
extern |