Video:setSource

Available since LÖVE 0.10.0
This function is not supported in earlier versions.

Sets the audio Source used for playing back the video's audio. The audio Source also controls playback speed and synchronization.

Function

Synopsis

Video:setSource( source )

Arguments

Source source (nil)
The audio Source used for audio playback, or nil to disable audio synchronization.

Returns

Nothing.

See Also

Other Languages