Difference between revisions of "Source:getFreeBufferCount"
(Created page for Source:getFreeBufferCount.) |
m (→Synopsis) |
||
Line 5: | Line 5: | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | buffers = Source:getFreeBufferCount( ) | |
</source> | </source> | ||
+ | |||
=== Arguments === | === Arguments === | ||
None. | None. |
Latest revision as of 23:30, 11 January 2022
Available since LÖVE 11.0 |
This function is not supported in earlier versions. |
Gets the number of free buffer slots in a queueable Source. If the queueable Source is playing, this value will increase up to the amount the Source was created with. If the queueable Source is stopped, it will process all of its internal buffers first, in which case this function will always return the amount it was created with.
Function
Synopsis
buffers = Source:getFreeBufferCount( )
Arguments
None.
Returns
number buffers
- How many more SoundData objects can be queued up.
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