Microsoft DirectX 9.0 SDK Update (October 2004)

Audio.Balance Property

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves and sets the playback position in the stereo field.

Definition

Visual Basic .NET Public Property Balance As Integer
C# public int Balance { get; set; }
Managed C++ public: __property int get_Balance();
public: __property void set_Balance(int);
JScript .NET public function get Balance() : int
public function set Balance(int);

Property Value

System.Int32 . The playback position in the stereo field.

This property is read/write. 

Remarks

When this property is set to -10000, playback in the left channel is at normal volume and the right channel is effectively silent.

When this property is set to 10000, playback in the right channel is at normal volume and the left channel is effectively silent.

Exceptions
DirectXException For more information on the cause of this exception, reference the DirectXException.ErrorCode and DirectXException.ErrorString properties to the AudioVideoPlayback error code table.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center