Difference between revisions of "SourceType"
m (Added a bit more information about how to use static and stream.) |
m |
||
Line 9: | Line 9: | ||
== See Also == | == See Also == | ||
* [[parent::love.audio]] | * [[parent::love.audio]] | ||
− | * [[Source]] | + | * [[parent::Source]] |
[[Category:Enums]] | [[Category:Enums]] |
Revision as of 03:06, 25 March 2018
Types of audio sources.
A good rule of thumb is to use stream
for music files and static
for all short sound effects. Basically, you want to avoid loading large files into memory at once.
Constants
- static
- Decode the entire sound at once.
- stream
- Stream the sound; decode it gradually.
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