// acxelements.h
EVT_ACX_AUDIOENGINE_ASSIGN_ENGINE_FORMAT EvtAcxAudioengineAssignEngineFormat;
NTSTATUS EvtAcxAudioengineAssignEngineFormat(
ACXAUDIOENGINE AudioEngine,
ACXDATAFORMAT Format
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The EVT_ACX_AUDIOENGINE_ASSIGN_ENGINE_FORMAT callback function is implemented by the driver and is called when the internal mix format is set for an audio engine node.
AudioEngineAn ACXAUDIOENGINE object that is used in a render circuit to represent a DSP. For more information about ACX objects, see Summary of ACX Objects.
FormatAn ACXDATAFORMAT object that describes the mix format for the specified audio engine.
Returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an appropriate error code. For more information, see Using NTSTATUS Values.
Example usage is shown below.
EVT_ACX_AUDIOENGINE_ASSIGN_ENGINE_FORMAT DspR_EvtAcxAudioEngineAssignEngineDeviceFormat;
NTSTATUS
DspR_EvtAcxAudioEngineAssignEngineDeviceFormat(
ACXAUDIOENGINE,
ULONG
)
{
PAGED_CODE();
// Custom Code goes here
return STATUS_SUCCESS;
}
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.