Source:getSound

Returns the Sound object backing the Source. Multiple Sources can share one Sound, allowing its data to only be loaded once. An easy way to do this sharing is by using Source:clone.

sound = Source:getSound()

Arguments

None

Returns

NameTypeDescription
soundSoundThe Sound object.

See also