Skip to content

Latest commit

 

History

History
99 lines (77 loc) · 2.37 KB

ns-acxelements-acx_mute_callbacks.md

File metadata and controls

99 lines (77 loc) · 2.37 KB
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_MUTE_CALLBACKS
audio
ACX_MUTE_CALLBACKS
08/01/2022
Windows
The ACX_MUTE_CALLBACKS structure identifies the driver callbacks for ACX mute operations.
false
structure
acxelements.h
ACX_MUTE_CALLBACKS, *PACX_MUTE_CALLBACKS
apiref
HeaderDef
acxelements.h
_ACX_MUTE_CALLBACKS
PACX_MUTE_CALLBACKS
ACX_MUTE_CALLBACKS
_ACX_MUTE_CALLBACKS
acxelements/_ACX_MUTE_CALLBACKS
PACX_MUTE_CALLBACKS
acxelements/PACX_MUTE_CALLBACKS
ACX_MUTE_CALLBACKS
acxelements/ACX_MUTE_CALLBACKS
c++

-description

The ACX_MUTE_CALLBACKS structure identifies the driver callbacks for ACX mute operations.

-struct-fields

-field Size

The length, in bytes, of this structure.

-field EvtAcxMuteAssignState

The EVT_ACX_MUTE_ASSIGN_STATE callback.

-field EvtAcxMuteRetrieveState

The EVT_ACX_MUTE_RETRIEVE_STATE callback.

-field EvtAcxMuteProcessRequest

The EVT_ACX_OBJECT_PROCESS_REQUEST callback.

-remarks

Example

Example usage is shown below.

    ACX_MUTE_CALLBACKS              muteCallbacks;
    ACX_MUTE_CONFIG                 muteCfg;
    ACXMUTE                         muteElement;

    //
    // Create three elements to handle mute for the audioengine element
    //
    ACX_MUTE_CALLBACKS_INIT(&muteCallbacks);
    muteCallbacks.EvtAcxMuteAssignState = CodecR_EvtMuteAssignState;
    muteCallbacks.EvtAcxMuteRetrieveState = CodecR_EvtMuteRetrieveState;

    ACX_MUTE_CONFIG_INIT(&muteCfg);
    muteCfg.ChannelsCount = MAX_CHANNELS;
    muteCfg.Name = &KSAUDFNAME_WAVE_MUTE;
    muteCfg.Callbacks = &muteCallbacks;

ACX requirements

Minimum ACX version: 1.0

For more information about ACX versions, see ACX version overview.

-see-also

  • [acxelements.h header](index.md)