Bewerken

Delen via


ACX_MUTE_CALLBACKS structure (acxelements.h)

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

Syntax

typedef struct _ACX_MUTE_CALLBACKS {
  ULONG                          Size;
  PFN_ACX_MUTE_ASSIGN_STATE      EvtAcxMuteAssignState;
  PFN_ACX_MUTE_RETRIEVE_STATE    EvtAcxMuteRetrieveState;
  PFN_ACX_OBJECT_PROCESS_REQUEST EvtAcxMuteProcessRequest;
} ACX_MUTE_CALLBACKS, *PACX_MUTE_CALLBACKS;

Members

Size

The length, in bytes, of this structure.

EvtAcxMuteAssignState

The EVT_ACX_MUTE_ASSIGN_STATE callback.

EvtAcxMuteRetrieveState

The EVT_ACX_MUTE_RETRIEVE_STATE callback.

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.

Requirements

Requirement Value
Header acxelements.h

See also

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