다음을 통해 공유


AcxAudioEngineGetDeviceFormatList 함수(acxelements.h)

AcxAudioEngineGetDeviceFormatList 함수는 오디오 엔진 노드에 대해 지원되는 형식 목록을 포함하는 ACXDATAFORMATLIST 개체를 검색합니다. ACX 개체에 대한 자세한 내용은 ACX 개체 요약을 참조하세요.

구문

ACXDATAFORMATLIST AcxAudioEngineGetDeviceFormatList(
  ACXAUDIOENGINE AudioEngine
);

매개 변수

AudioEngine

DSP를 나타내기 위해 렌더링 회로에 사용되는 ACXAUDIOENGINE 개체입니다.

반환 값

지정된 ACXAUDIOENGINE 개체에 대해 지원되는 형식 목록을 포함하는 ACXDATAFORMATLIST 개체입니다.

설명

예제

예제 사용법은 다음과 같습니다.

    status = AcxDataFormatCreate(Device, &attributes, &formatCfg, &formatPcm44100c2);
    formatCtx = GetCodecFormatContext(formatPcm44100c2);

    // Get the current audio engine device format list
    formatList = AcxAudioEngineGetDeviceFormatList(audioEngineElement);
    if (formatList == NULL)
    {
        status = STATUS_INSUFFICIENT_RESOURCES;
        goto exit;
    }

    // Add our supported formats to the audio engine device format list
    status = AcxDataFormatListAddDataFormat(formatList, formatPcm44100c2);

ACX 요구 사항

최소 ACX 버전: 1.0

ACX 버전에 대한 자세한 내용은 ACX 버전 개요를 참조하세요.

요구 사항

요구 사항
헤더 acxelements.h
IRQL PASSIVE_LEVEL

추가 정보