StreamType

Available since LÖVE 12.0
This enum is not supported in earlier versions.

Types of streaming for use with streaming audio Sources or Decoders.

Constants

file
Encoded data is read from the file on-demand and decoded, during playback.
memory
The file's encoded contents are fully loaded into memory when the Source is first created, and only decoding happens on-demand during playback.


The file stream type uses less memory especially for bigger files, whereas the memory stream type uses less disk IO and file reading time during audio playback.

See Also


Other Languages