Bewerken

Delen via


IMiniportAudioEngineNode::GetMixFormat method (portcls.h)

Gets the audio data format for the audio engine mixer.

Syntax

NTSTATUS GetMixFormat(
  [in]  ULONG                     ulNodeId,
  [out] KSDATAFORMAT_WAVEFORMATEX *pFormat,
  [in]  ULONG                     ulBufferSize
);

Parameters

[in] ulNodeId

The ID of the mixer node.

[out] pFormat

A structure of type KSDATAFORMAT_WAVEFORMATEX that represents the audio data format.

[in] ulBufferSize

The data buffer size.

Return value

GetMixFormat returns S_OK, if the call was successful. Otherwise, the method returns an appropriate error code.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Universal
Header portcls.h

See also

IMiniportAudioEngineNode

KSDATAFORMAT_WAVEFORMATEX