Microsoft DirectX 9.0 |
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
If the method succeeds, it returns S_OK. Otherwise it returns an HRESULT error code.
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