Help Center

CDSAudio.GetBalancemethod

Gets the balance for the audio signal.

AudiomethodCDSAudio.incdocumented

Syntax

FUNCTION GetBalance () AS LONG

Return value

The balance for the audio signal.

Description

Gets the balance for the audio signal.

Remarks

The balance ranges from -10,000 to 10,000. The value -10,000 means the right channel is attenuated by 100 dB and is effectively silent. The value 10,000 means the left channel is silent. The neutral value is 0, which means that both channels are at full volume. When one channel is attenuated, the other remains at full volume.

Reference

  • Include file CDSAudio.inc
  • Defined in AfxNova/CDSAudio.inc:274
  • Documented in Audio/CDSAudio Class.md
  • Topic: CDSAudio Class