Source:getVolume

Edit

Returns the current volume factor for the Source.

volume = Source:getVolume(units)

Arguments

NameTypeDefaultDescription
unitsVolumeUnit'linear' The units to return (linear or db).

Returns

NameTypeDescription
volumenumber The volume of the Source.

See also