OpenCore
1.0.4
OpenCore Bootloader
|
#include <Library/BaseMemoryLib.h>
#include <Library/BaseOverflowLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/OcAudioLib.h>
#include <Library/OcMiscLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Protocol/AppleHda.h>
#include <Protocol/AppleBeepGen.h>
#include <Protocol/AppleVoiceOver.h>
#include "OcAudioInternal.h"
Go to the source code of this file.
Macros | |
#define | OC_BEEP_AUDIO_FREQUENCY EfiAudioIoFreq44kHz |
#define | OC_BEEP_AUDIO_BITS EfiAudioIoBits16 |
#define | OC_BEEP_AUDIO_CHANNELS 2 |
#define | OC_BEEP_AUDIO_LENGTH 3810 |
Microseconds. | |
Functions | |
EFI_STATUS EFIAPI | InternalOcAudioGenBeep (IN UINT32 ToneCount, IN UINTN ToneLength, IN UINTN SilenceLength) |
Variables | |
STATIC INT16 | mAudioBeepSignal [] |
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 OcAudioGenBeep.c.
#define OC_BEEP_AUDIO_BITS EfiAudioIoBits16 |
Definition at line 30 of file OcAudioGenBeep.c.
#define OC_BEEP_AUDIO_CHANNELS 2 |
Definition at line 31 of file OcAudioGenBeep.c.
#define OC_BEEP_AUDIO_FREQUENCY EfiAudioIoFreq44kHz |
Definition at line 29 of file OcAudioGenBeep.c.
#define OC_BEEP_AUDIO_LENGTH 3810 |
Microseconds.
Definition at line 32 of file OcAudioGenBeep.c.
EFI_STATUS EFIAPI InternalOcAudioGenBeep | ( | IN UINT32 | ToneCount, |
IN UINTN | ToneLength, | ||
IN UINTN | SilenceLength ) |
Definition at line 53 of file OcAudioGenBeep.c.
STATIC INT16 mAudioBeepSignal[] |
Definition at line 38 of file OcAudioGenBeep.c.