Microsoft DirectX 8.0 (C++)

IDirectMusicAudioPath8::ConvertPChannel

Translates between a performance channel in a segment and the equivalent channel allocated in the performance for the audiopath. This method is not typically needed by applications, but can be used by components such as tracks.

HRESULT ConvertPChannel(
  DWORD dwPChannelIn,
  DWORD *pdwPChannelOut
);

Parameters

dwPChannelIn
Value that specifies the performance channel to convert.
pdwPChannelOut
Address of a DWORD variable that receives the virtual performance channel.

Return Values

If the method succeeds, the return value is S_OK.

If it fails, the method can return one of the following error values:

DMUS_E_NOT_FOUND
E_POINTER

Requirements

  Header: Declared in dmusici.h.