Help Center

CDSAudio.SetVolumemethod

Sets the volume (amplitude) of the audio signal.

AudiomethodCDSAudio.incdocumented

Syntax

FUNCTION SetVolume (BYVAL nVol AS LONG) AS HRESULT

Parameters

NameDescription
nVolThe volume (amplitude) of the audio signal. Specifies the volume, as a number from –10,000 to 0, inclusive. Full volume is 0, and –10,000 is silence. Multiply the desired decibel level by 100. For example, –10,000 = –100 dB.

Description

Sets the volume (amplitude) of the audio signal.

Reference

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