Freigeben über


ACX_STREAMAUDIOENGINE_CALLBACKS-Struktur (acxelements.h)

Die ACX_STREAMAUDIOENGINE_CALLBACKS-Struktur identifiziert die Treiberrückrufe für ACX-Streamaudio-Engine-Vorgänge.

Syntax

typedef struct _ACX_STREAMAUDIOENGINE_CALLBACKS {
  ULONG                                                     Size;
  PFN_ACX_STREAMAUDIOENGINE_ASSIGN_EFFECTS_STATE            EvtAcxStreamAudioEngineAssignEffectsState;
  PFN_ACX_STREAMAUDIOENGINE_RETRIEVE_EFFECTS_STATE          EvtAcxStreamAudioEngineRetrieveEffectsState;
  PFN_ACX_STREAMAUDIOENGINE_RETRIEVE_PRESENTATION_POSITION  EvtAcxStreamAudioEngineRetrievePresentationPosition;
  PFN_ACX_STREAMAUDIOENGINE_ASSIGN_CURRENT_WRITE_POSITION   EvtAcxStreamAudioEngineAssignCurrentWritePosition;
  PFN_ACX_STREAMAUDIOENGINE_RETRIEVE_LINEAR_BUFFER_POSITION EvtAcxStreamAudioEngineRetrieveLinearBufferPosition;
  PFN_ACX_STREAMAUDIOENGINE_ASSIGN_LAST_BUFFER_POSITION     EvtAcxStreamAudioEngineAssignLastBufferPosition;
  PFN_ACX_STREAMAUDIOENGINE_ASSIGN_LOOPBACK_PROTECTION      EvtAcxStreamAudioEngineAssignLoopbackProtection;
  PFN_ACX_OBJECT_PROCESS_REQUEST                            EvtAcxStreamAudioEngineProcessRequest;
} ACX_STREAMAUDIOENGINE_CALLBACKS, *PACX_STREAMAUDIOENGINE_CALLBACKS;

Member

Size

Die Länge dieser Struktur in Bytes.

EvtAcxStreamAudioEngineAssignEffectsState

Der EVT_ACX_STREAMAUDIOENGINE_ASSIGN_EFFECTS_STATE Rückruf.

EvtAcxStreamAudioEngineRetrieveEffectsState

Der EVT_ACX_STREAMAUDIOENGINE_RETRIEVE_EFFECTS_STATE Rückruf.

EvtAcxStreamAudioEngineRetrievePresentationPosition

Der EVT_ACX_STREAMAUDIOENGINE_RETRIEVE_PRESENTATION_POSITION Rückruf.

EvtAcxStreamAudioEngineAssignCurrentWritePosition

Der EVT_ACX_STREAMAUDIOENGINE_ASSIGN_CURRENT_WRITE_POSITION Rückruf.

EvtAcxStreamAudioEngineRetrieveLinearBufferPosition

Der EVT_ACX_STREAMAUDIOENGINE_RETRIEVE_LINEAR_BUFFER_POSITION Rückruf.

EvtAcxStreamAudioEngineAssignLastBufferPosition

Der EVT_ACX_STREAMAUDIOENGINE_ASSIGN_LAST_BUFFER_POSITION Rückruf.

EvtAcxStreamAudioEngineAssignLoopbackProtection

Der EVT_ACX_STREAMAUDIOENGINE_ASSIGN_LOOPBACK_PROTECTION Rückruf.

EvtAcxStreamAudioEngineProcessRequest

Der EVT_ACX_OBJECT_PROCESS_REQUEST Rückruf.

Bemerkungen

Beispiel

Das Beispiel für die Verwendung ist unten dargestellt.

        ACX_STREAMAUDIOENGINE_CALLBACKS streamAudioEngineCallbacks;

        // Create the AudioEngine element to control offloaded streaming.
        ACX_STREAMAUDIOENGINE_CALLBACKS_INIT(&streamAudioEngineCallbacks);

        streamAudioEngineCallbacks.EvtAcxStreamAudioEngineAssignEffectsState = CodecR_EvtAcxStreamAudioEngineAssignEffectsState;
        streamAudioEngineCallbacks.EvtAcxStreamAudioEngineRetrieveEffectsState = CodecR_EvtAcxStreamAudioEngineRetrieveEffectsState;
        streamAudioEngineCallbacks.EvtAcxStreamAudioEngineRetrievePresentationPosition = CodecR_EvtAcxStreamAudioEngineRetrievePresentationPosition;
        streamAudioEngineCallbacks.EvtAcxStreamAudioEngineAssignCurrentWritePosition = CodecR_EvtAcxStreamAudioEngineAssignCurrentWritePosition;
        streamAudioEngineCallbacks.EvtAcxStreamAudioEngineRetrieveLinearBufferPosition = CodecR_EvtAcxStreamAudioEngineRetrieveLinearBufferPosition;
        streamAudioEngineCallbacks.EvtAcxStreamAudioEngineAssignLastBufferPosition = CodecR_EvtAcxStreamAudioEngineAssignLastBufferPosition;
        streamAudioEngineCallbacks.EvtAcxStreamAudioEngineAssignLoopbackProtection = CodecR_EvtAcxStreamAudioEngineAssignLoopbackProtection;

ACX-Anforderungen

ACX-Mindestversion: 1.0

Weitere Informationen zu ACX-Versionen finden Sie unter ACX-Versionsübersicht.

Anforderungen

Anforderung Wert
Header acxelements.h

Weitere Informationen