Microsoft DirectX 8.1 (C++)

IAMAudioInputMixer::put_Pan

The put_Pan method sets the pan level.

Syntax

HRESULT put_Pan(
  double Pan
);

Parameters

Pan

[in]  Specifies the pan level. Possible values range from –1.0 to 1.0, as follows.

Value Description
-1 Full left
0 Center
1 Full right

Return Values

Returns an HRESULT value.

Remarks

In a stereo recording, setting the pan level to -1.0 or 1.0 sends the entire signal to one channel. The other channel records silence. Panning has no effect for a mono recording.

See Also