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

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Video:setSource