Help Center

CDSAudio.SetBalancemethod

Sets the balance for the audio signal.

AudiomethodCDSAudio.incdocumented

Syntax

FUNCTION SetBalance (BYVAL nBalance AS LONG) AS HRESULT

Parameters

NameDescription
nBalanceThe 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.

Description

Sets the balance for the audio signal.

Reference

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