UID | tech.root | title | ms.date | targetos | description | prerelease | req.construct-type | req.ddi-compliance | req.dll | req.header | req.include-header | req.kmdf-ver | req.lib | req.max-support | req.redist | req.target-min-winverclnt | req.target-min-winversvr | req.target-type | req.typenames | req.umdf-ver | req.unicode-ansi | topic_type | api_type | api_location | api_name | f1_keywords | dev_langs | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NS:acxelements._ACX_AUDIOENGINE_CONFIG |
audio |
ACX_AUDIOENGINE_CONFIG |
04/29/2022 |
Windows |
The ACX_AUDIOENGINE_CONFIG structure is used to define the audio engine configuration. |
false |
structure |
acxelements.h |
ACX_AUDIOENGINE_CONFIG, *PACX_AUDIOENGINE_CONFIG |
|
|
|
|
|
|
The ACX_AUDIOENGINE_CONFIG structure is used to define the audio engine configuration.
The length, in bytes, of this structure.
A number that represents the element ID.
A pointer to a GUID that represents the name of the element. Can be used for debugging and will default to GUID_NULL if not provided.
Audio engine configuration flags defined by the ACX_AUDIOENGINE_CONFIG_FLAGS enum.
No flag bits are currently defined. Set this member to zero - AcxAudioEngineConfigNoFlags
An existing ACXPIN object that serves as the host pin for the audio engine. For more information about ACX objects, see Summary of ACX Objects.
An existing ACXPIN object that represents the offload pin.
An existing ACXPIN object that represents the loopback pin.
An existing ACXVOLUME object that is used for volume operations by the audio engine.
An existing ACXMUTE object that is used for mute operations by the audio engine.
An existing ACXPEAKMETER object that is used for peakmeter operations by the audio engine.
An ACX_AUDIOENGINE_CALLBACKS structure that defines the callbacks for the audio engine.
Example usage is shown below.
ACX_AUDIOENGINE_CONFIG audioEngineCfg;
ACX_AUDIOENGINE_CALLBACKS audioEngineCallbacks;
// Initialize the config structure
ACX_AUDIOENGINE_CONFIG_INIT(&audioEngineCfg);
// Set the values of the structure
audioEngineCfg.HostPin = Pins[HostPin];
audioEngineCfg.OffloadPin = Pins[OffloadPin];
audioEngineCfg.LoopbackPin = Pins[LoopbackPin];
audioEngineCfg.VolumeElement = volumeElement;
audioEngineCfg.MuteElement = muteElement;
audioEngineCfg.PeakMeterElement = peakmeterElement;
audioEngineCfg.Callbacks = &audioEngineCallbacks;
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.
- [acxelements.h header](index.md)