Available since LÖVE 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.
success = Source:queue( soundData, length )
SoundData soundDatanumber length (sounddata:getSize())boolean successsuccess = Source:queue( soundData, offset, length )
SoundData soundDatanumber offsetnumber lengthboolean successTo convert sample unit to bytes, multiply the sample unit by SoundData:getBitDepth() * SoundData:getChannelCount() / 8.
© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Source:queue