Share via


IAMAudioInputMixer::get_Pan

 
Microsoft DirectShow 9.0

IAMAudioInputMixer::get_Pan

The get_Pan method retrieves the pan level.

Syntax

  HRESULT get_Pan(
  double *pPan
);

Parameters

pPan

[out]  Receives the pan level. Possible values range from 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.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also