Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This header is used by audio. For more information, see:
hdaudio.h contains the following programming interfaces:
Callback functions
PALLOCATE_CAPTURE_DMA_ENGINE The AllocateCaptureDmaEngine routine allocates a DMA engine for a capture stream.The function pointer type for an AllocateCaptureDmaEngine routine is defined as follows. |
PALLOCATE_CONTIGUOUS_DMA_BUFFER The AllocateContiguousDmaBuffer routine allocates a DMA buffer that consists of a single, contiguous block of physical memory.The function pointer type for an AllocateContiguousDmaBuffer routine is defined as follows. |
PALLOCATE_DMA_BUFFER The AllocateDmaBuffer routine allocates a data buffer in system memory for a DMA engine.The function pointer type for an AllocateDmaBuffer routine is defined as follows. |
PALLOCATE_DMA_BUFFER_WITH_NOTIFICATION The AllocateDmaBufferWithNotification routine allocates a data buffer in system memory for a DMA engine.The function pointer type for an AllocateDmaBufferWithNotification routine is defined as follows. |
PALLOCATE_RENDER_DMA_ENGINE The AllocateRenderDmaEngine routine allocates a DMA engine for a render stream.The function pointer type for an AllocateRenderDmaEngine routine is defined as follows. |
PCHANGE_BANDWIDTH_ALLOCATION The ChangeBandwidthAllocation routine changes a DMA engine's bandwidth allocation on the HD Audio Link.The function pointer type for a ChangeBandwidthAllocation routine is defined as follows. |
PFREE_CONTIGUOUS_DMA_BUFFER The FreeContiguousDmaBuffer routine frees a DMA buffer and buffer descriptor list (BDL) that were allocated by a call to AllocateContiguousDmaBuffer.The function pointer type for a FreeContiguousDmaBuffer routine is defined as follows. |
PFREE_DMA_BUFFER The FreeDmaBuffer routine frees a DMA buffer that was previously allocated by a call to AllocateDmaBuffer.The function pointer type for a FreeDmaBuffer routine is defined as follows. |
PFREE_DMA_BUFFER_WITH_NOTIFICATION The FreeDmaBufferWithNotification routine frees a DMA buffer that was previously allocated by a call to AllocateDmaBufferWithNotification.The function pointer type for a FreeDmaBufferWithNotification routine is defined as follows. |
PFREE_DMA_ENGINE The FreeDmaEngine routine frees a DMA engine that was previously allocated by a call to AllocateCaptureDmaEngine or AllocateRenderDmaEngine.The function pointer type for a FreeDmaEngine routine is defined as follows. |
PGET_DEVICE_INFORMATION The GetDeviceInformation routine retrieves information about the HD Audio controller device.The function pointer type for a GetDeviceInformation routine is defined as follows. |
PGET_LINK_POSITION_REGISTER The GetLinkPositionRegister routine retrieves a pointer to a DMA engine's link position register.The function pointer type for a GetLinkPositionRegister routine is defined as follows. |
PGET_RESOURCE_INFORMATION The GetResourceInformation routine retrieves information about hardware resources.The function pointer type for a GetResourceInformation routine is defined as follows. |
PGET_WALL_CLOCK_REGISTER The GetWallClockRegister routine retrieves a pointer to the wall clock register.The function pointer type for a GetWallClockRegister routine is defined as follows. |
PHDAUDIO_BDL_ISR The HDAudioBdlIsr routine is the ISR that the HD Audio bus driver calls each time an IOC interrupt occurs on the stream. It is a function pointer of type PHDAUDIO_BDL_ISR, which is defined as follows. |
PHDAUDIO_DMA_NOTIFICATION_CALLBACK HDAudio codec DMA Notification Callback function. |
PHDAUDIO_TRANSFER_COMPLETE_CALLBACK HDAudio codec transfer complete callback function. PHDAUDIO_TRANSFER_COMPLETE_CALLBACK is used by the PTRANSFER_CODEC_VERBS callback function. |
PHDAUDIO_UNSOLICITED_RESPONSE_CALLBACK HDAudio codec unsolicited response callback function. PHDAUDIO_UNSOLICITED_RESPONSE_CALLBACK is used by the PREGISTER_EVENT_CALLBACK callback function. |
PREGISTER_EVENT_CALLBACK The RegisterEventCallback routine registers a callback routine for an unsolicited response from a codec or codecs.The function pointer type for a RegisterEventCallback routine is defined as follows. |
PREGISTER_NOTIFICATION_CALLBACK The RegisterNotificationCallback routine registers a callback routine so that it can receive DMA progress notifications with more accurate timing information. |
PREGISTER_NOTIFICATION_EVENT The RegisterNotificationEvent routine registers a kernel event so that it can receive DMA progress notifications.The function pointer type for a RegisterNotificationEvent routine is defined as follows. |
PSET_DMA_ENGINE_STATE The SetDmaEngineState routine sets the state of one or more DMA engines to the Running, Stopped, Paused, or Reset state.The function pointer type for a SetDmaEngineState routine is defined as follows. |
PSETUP_DMA_ENGINE_WITH_BDL The SetupDmaEngineWithBdl routine sets up a DMA engine to use a caller-allocated DMA buffer.The function pointer type for a SetupDmaEngineWithBdl routine is defined as follows. |
PTRANSFER_CODEC_VERBS The TransferCodecVerbs routine transfers one or more commands to a codec or codecs and retrieves the responses to those commands.The function pointer type for a TransferCodecVerbs routine is defined as follows. |
PUNREGISTER_EVENT_CALLBACK The UnregisterEventCallback routine deletes the registration of an event callback that was previously registered by a call to RegisterEventCallback.The function pointer type for an UnregisterEventCallback routine is defined as follows. |
PUNREGISTER_NOTIFICATION_CALLBACK The PUNREGISTER_NOTIFICATION_CALLBACK callback function deletes the registration of a notification callback routine that was previously registered by a call to RegisterNotificationCallback. |
PUNREGISTER_NOTIFICATION_EVENT The UnregisterNotificationEvent routine deletes the registration of an event that was previously registered by a call to RegisterNotificationEvent.The function pointer type for an UnregisterNotificationEvent routine is defined as follows. |
Structures
HDAUDIO_BUFFER_DESCRIPTOR The HDAUDIO_BUFFER_DESCRIPTOR structure specifies a buffer descriptor, which is an entry in a buffer descriptor list (BDL). |
HDAUDIO_BUS_INTERFACE The HDAUDIO_BUS_INTERFACE structure specifies the information that a client requires to call the routines in the HDAUDIO_BUS_INTERFACE version of the HD Audio DDI. Another variant of this DDI is specified by the HDAUDIO_BUS_INTERFACE_BDL structure. |
HDAUDIO_BUS_INTERFACE_BDL The HDAUDIO_BUS_INTERFACE_BDL structure specifies the information that a client requires to call the routines in the HDAUDIO_BUS_INTERFACE_BDL version of the HD Audio DDI. Another variant of this DDI is specified by the HDAUDIO_BUS_INTERFACE structure. |
HDAUDIO_BUS_INTERFACE_V2 The HDAUDIO_BUS_INTERFACE_V2 structure specifies the information that a client requires to call the routines in the HDAUDIO_BUS_INTERFACE_V2 version of the HD Audio DDI. |
HDAUDIO_BUS_INTERFACE_V3 Learn more about: _HDAUDIO_BUS_INTERFACE_V3 structure |
HDAUDIO_CODEC_COMMAND The HDAUDIO_CODEC_COMMAND structure specifies a codec command. |
HDAUDIO_CODEC_RESPONSE The HDAUDIO_CODEC_RESPONSE structure specifies either a response to a codec command or an unsolicited response from a codec. |
HDAUDIO_CODEC_TRANSFER The HDAUDIO_CODEC_TRANSFER structure specifies a codec command and the response to that command. |
HDAUDIO_CONVERTER_FORMAT The HDAUDIO_CONVERTER_FORMAT structure specifies the 16-bit encoded stream format for an input or output converter, as defined in the Intel High Definition Audio Specification (see the Intel HD Audio website). |
HDAUDIO_DEVICE_INFORMATION The HDAUDIO_DEVICE_INFORMATION structure specifies the hardware capabilities of the HD Audio bus controller. |
HDAUDIO_DEVICE_INFORMATION_V2 The HDAUDIO_DEVICE_INFORMATION_V2 structure specifies the hardware capabilities of the HD Audio bus controller. |
HDAUDIO_STREAM_FORMAT The HDAUDIO_STREAM_FORMAT structure describes the data format of a capture or render stream. |
Enumerations
HDAUDIO_CODEC_POWER_STATE The HDAUDIO_CODEC_POWER_STATE enumeration defines constants that specify the different power states that HD Audio codecs can support. All states are from DEVICE_POWER_STATE except PowerCodecD3Cold. |
HDAUDIO_STREAM_STATE The HDAUDIO_STREAM_STATE enumeration defines constants that specify the different stream states supported by HDAudio. |