ACX_STREAMAUDIOENGINE_CALLBACKS 구조체(acxelements.h)
ACX_STREAMAUDIOENGINE_CALLBACKS 구조는 ACX 스트림 오디오 엔진 작업에 대한 드라이버 콜백을 식별합니다.
구문
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;
멤버
Size
이 구조체의 길이(바이트)입니다.
EvtAcxStreamAudioEngineAssignEffectsState
EVT_ACX_STREAMAUDIOENGINE_ASSIGN_EFFECTS_STATE 콜백입니다.
EvtAcxStreamAudioEngineRetrieveEffectsState
EVT_ACX_STREAMAUDIOENGINE_RETRIEVE_EFFECTS_STATE 콜백입니다.
EvtAcxStreamAudioEngineRetrievePresentationPosition
EVT_ACX_STREAMAUDIOENGINE_RETRIEVE_PRESENTATION_POSITION 콜백입니다.
EvtAcxStreamAudioEngineAssignCurrentWritePosition
EVT_ACX_STREAMAUDIOENGINE_ASSIGN_CURRENT_WRITE_POSITION 콜백입니다.
EvtAcxStreamAudioEngineRetrieveLinearBufferPosition
EVT_ACX_STREAMAUDIOENGINE_RETRIEVE_LINEAR_BUFFER_POSITION 콜백입니다.
EvtAcxStreamAudioEngineAssignLastBufferPosition
EVT_ACX_STREAMAUDIOENGINE_ASSIGN_LAST_BUFFER_POSITION 콜백입니다.
EvtAcxStreamAudioEngineAssignLoopbackProtection
EVT_ACX_STREAMAUDIOENGINE_ASSIGN_LOOPBACK_PROTECTION 콜백입니다.
EvtAcxStreamAudioEngineProcessRequest
EVT_ACX_OBJECT_PROCESS_REQUEST 콜백입니다.
설명
예제
사용 예제는 다음과 같습니다.
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 요구 사항
최소 ACX 버전: 1.0
ACX 버전에 대한 자세한 내용은 ACX 버전 개요를 참조하세요.
요구 사항
요구 사항 | 값 |
---|---|
헤더 | acxelements.h |