IAMAudioInputMixer::put_Pan method

The put_Pan method sets the pan level.

Syntax


HRESULT put_Pan(
  [in]  double Pan
);

Parameters

Pan [in]

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

Value Description
-1Full left
0Center
1Full right

 

Return value

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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Strmif.h (include Dshow.h)

Library

Strmiids.lib

See also

Error and Success Codes
IAMAudioInputMixer Interface
IAMAudioInputMixer::get_Pan

 

 

Community Additions

ADD
Show:
© 2014 Microsoft