#include <Protocol/PciIo.h>
Go to the source code of this file.
Data Structures | |
struct | APPLE_HIGH_DEFINITION_AUDIO_PROTOCOL_ |
Macros | |
#define | APPLE_HIGH_DEFINITION_AUDIO_PROTOCOL_GUID |
#define | APPLE_HIGH_DEFINITION_AUDIO_PROTOCOL_VERSION 0x40000 |
Typedefs | |
typedef struct APPLE_HIGH_DEFINITION_AUDIO_PROTOCOL_ | APPLE_HIGH_DEFINITION_AUDIO_PROTOCOL |
typedef EFI_STATUS(EFIAPI * | APPLE_HIGH_DEFINITION_AUDIO_UNKNOWN) (VOID) |
typedef EFI_STATUS(EFIAPI * | APPLE_HIGH_DEFINITION_AUDIO_PLAY_TONE) (IN APPLE_HIGH_DEFINITION_AUDIO_PROTOCOL *This, IN UINT32 ToneCount, IN UINTN ToneLength, IN UINTN SilenceLength, IN UINTN Frequency) |
typedef EFI_STATUS(EFIAPI * | APPLE_HIGH_DEFINITION_AUDIO_PLAY) (IN APPLE_HIGH_DEFINITION_AUDIO_PROTOCOL *This, IN OUT UINTN *Arg1, IN OUT UINTN *Arg2, IN OUT UINTN *Arg3) |
Variables | |
EFI_GUID | gAppleHighDefinitionAudioProtocolGuid |
Apple High Definition 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 AppleHda.h.
#define APPLE_HIGH_DEFINITION_AUDIO_PROTOCOL_GUID |
Apple High Definition Audio protocol GUID. 3224B169-EC34-46D2-B779-E1B1687F525F
Definition at line 24 of file AppleHda.h.
#define APPLE_HIGH_DEFINITION_AUDIO_PROTOCOL_VERSION 0x40000 |
Definition at line 28 of file AppleHda.h.
typedef EFI_STATUS(EFIAPI * APPLE_HIGH_DEFINITION_AUDIO_PLAY) (IN APPLE_HIGH_DEFINITION_AUDIO_PROTOCOL *This, IN OUT UINTN *Arg1, IN OUT UINTN *Arg2, IN OUT UINTN *Arg3) |
Definition at line 86 of file AppleHda.h.
typedef EFI_STATUS(EFIAPI * APPLE_HIGH_DEFINITION_AUDIO_PLAY_TONE) (IN APPLE_HIGH_DEFINITION_AUDIO_PROTOCOL *This, IN UINT32 ToneCount, IN UINTN ToneLength, IN UINTN SilenceLength, IN UINTN Frequency) |
Generate cycles of beep signals with silence afterwards, blocking.
[in] | This | This protocol instance. |
[in] | ToneCount | Number of signals to produce. |
[in] | ToneLength | Signal length in milliseconds. |
[in] | SilenceLength | Silence length in milliseconds. |
[in] | Frequency | Tone frequency, up to 44100 Hz, can be 0 for default. |
EFI_SUCCESS | after signal completion. |
EFI_SUCCESS | if ToneCount or ToneLength is 0. |
Definition at line 76 of file AppleHda.h.
Note, ToneLength and SilenceLength were in microseconds for older models:
Definition at line 55 of file AppleHda.h.
typedef EFI_STATUS(EFIAPI * APPLE_HIGH_DEFINITION_AUDIO_UNKNOWN) (VOID) |
Definition at line 58 of file AppleHda.h.
|
extern |