3 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
15 EFI Speaker Interface Protocol
21 #ifndef _EFI_SPEAKER_H
22 #define _EFI_SPEAKER_H
25 // Global Id for Speaker Interface
27 #define EFI_SPEAKER_INTERFACE_PROTOCOL_GUID \
29 0x400b4476, 0x3081, 0x11d6, 0x87, 0xed, 0x00, 0x06, 0x29, 0x45, 0xc3, 0xb9 \
32 typedef struct _EFI_SPEAKER_IF_PROTOCOL EFI_SPEAKER_IF_PROTOCOL
;
39 (EFIAPI
*EFI_GENERATE_BEEP
) (
40 IN EFI_SPEAKER_IF_PROTOCOL
* This
,
41 IN UINTN NumberOfBeep
,
42 IN UINTN BeepDuration
,
51 (EFIAPI
*EFI_SPEAKER_SET_FREQUENCY
) (
52 IN EFI_SPEAKER_IF_PROTOCOL
* This
,
57 // Protocol definition
59 struct _EFI_SPEAKER_IF_PROTOCOL
{
60 EFI_SPEAKER_SET_FREQUENCY SetSpeakerToneFrequency
;
61 EFI_GENERATE_BEEP GenerateBeep
;
64 extern EFI_GUID gEfiSpeakerInterfaceProtocolGuid
;