Source:queue

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

Queues SoundData for playback in a queueable Source.

This method requires the Source to be created via love.audio.newQueueableSource.

Function

Synopsis

success = Source:queue( sounddata )

Arguments

SoundData sounddata
The data to queue. The SoundData's sample rate, bit depth, and channel count must match the Source's.

Returns

boolean success
True if the data was successfully queued for playback, false if there were no available buffers to use for queueing.

See Also

Other Languages