Difference between revisions of "StreamType"
(Created page) |
m |
||
Line 7: | Line 7: | ||
− | The '''file''' stream type uses less memory especially for bigger files, whereas the '''memory''' stream type uses less disk IO during audio 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 == | == See Also == |
Latest revision as of 01:09, 15 June 2024
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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info