IBasicAudio.Balance

 
Microsoft DirectShow 9.0

IBasicAudio.Balance

  • Note   This topic is deprecated. It applies to Visual Basic 6.0. DirectShow is not supported for Visual Basic .NET or C#.

The Balance property sets or retrieves the audio balance.

Syntax

  objAudio
  .Balance As Long

Parameters

This property takes no parameters.

Return Values

Returns a value from –10,000 to 10,000. Intermediate values are also valid.

Value Description
–10,000 Only the left speaker is receiving an audio signal.
0 Both speakers are receiving equivalent audio signals.
10,000 Only the right speaker is receiving an audio signal.

Remarks

This property is read/write.

If you set this property to values outside the specified range, the IBasicAudio object raises run-time error 5. If the filter graph does not contain an audio stream, the object raises run-time error 445.

Requirements

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also