// acxelements.h
typedef struct _ACX_STREAMAUDIOENGINE_CONFIG {
ULONG Size;
ULONG Id;
const GUID *Name;
ULONG Flags;
ACXVOLUME VolumeElement;
ACXMUTE MuteElement;
ACXPEAKMETER PeakMeterElement;
PACX_STREAMAUDIOENGINE_CALLBACKS Callbacks;
} ACX_STREAMAUDIOENGINE_CONFIG, *PACX_STREAMAUDIOENGINE_CONFIG;
View the official Windows Driver Kit DDI referenceNo description available.
The ACX_STREAMAUDIOENGINE_CONFIG structure is used to define the stream audio engine configuration.
SizeThe length, in bytes, of this structure.
IdA number that represents the element ID.
NameA 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.
FlagsAcx peakmeter configuration flags defined by the ACX_STREAMAUDIOENGINE_CONFIG_FLAGS enum.
No flag bits are currently defined. Set this member to zero - AcxStreamAudioEngineConfigNoFlags.
VolumeElementAn existing ACXVOLUME object that is used for volume operations by the stream audio engine.
MuteElementAn existing ACXMUTE object that is used for mute operations by the stream audio engine.
PeakMeterElementAn existing ACXPEAKMETER object that is used for peakmeter operations by the stream audio engine.
CallbacksThe ACX_STREAMAUDIOENGINE_CALLBACKS structure that identifies the driver callbacks for ACX audio engine streaming operations.
Example usage is shown below.
ACX_STREAMAUDIOENGINE_CONFIG audioEngineCfg;
ACX_STREAMAUDIOENGINE_CONFIG_INIT(&audioEngineCfg);
audioEngineCfg.VolumeElement = volumeElement;
audioEngineCfg.MuteElement = muteElement;
audioEngineCfg.PeakMeterElement = peakmeterElement;
audioEngineCfg.Callbacks = &streamAudioEngineCallbacks;
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.