3 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials are licensed and made available under
6 the terms and conditions of the BSD License that accompanies this distribution.
7 The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
20 EFI Speaker Interface Protocol
26 #ifndef _EFI_SPEAKER_H
27 #define _EFI_SPEAKER_H
30 // Global Id for Speaker Interface
32 #define EFI_SPEAKER_INTERFACE_PROTOCOL_GUID \
34 0x400b4476, 0x3081, 0x11d6, 0x87, 0xed, 0x00, 0x06, 0x29, 0x45, 0xc3, 0xb9 \
37 typedef struct _EFI_SPEAKER_IF_PROTOCOL EFI_SPEAKER_IF_PROTOCOL
;
44 (EFIAPI
*EFI_GENERATE_BEEP
) (
45 IN EFI_SPEAKER_IF_PROTOCOL
* This
,
46 IN UINTN NumberOfBeep
,
47 IN UINTN BeepDuration
,
56 (EFIAPI
*EFI_SPEAKER_SET_FREQUENCY
) (
57 IN EFI_SPEAKER_IF_PROTOCOL
* This
,
62 // Protocol definition
64 struct _EFI_SPEAKER_IF_PROTOCOL
{
65 EFI_SPEAKER_SET_FREQUENCY SetSpeakerToneFrequency
;
66 EFI_GENERATE_BEEP GenerateBeep
;
69 extern EFI_GUID gEfiSpeakerInterfaceProtocolGuid
;