Difference between revisions of "Source:tell"
(Add Source:getDuration to See Also) |
m (Clarification for queueable Source related behaviour.) |
||
Line 1: | Line 1: | ||
{{newin|[[0.8.0]]|080|type=function}} | {{newin|[[0.8.0]]|080|type=function}} | ||
− | Gets the currently playing position of the Source. | + | Gets the currently playing position of the Source. With the queueable source type, this method returns a value based on the currently playing buffer only. |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === |
Revision as of 13:35, 16 March 2024
Available since LÖVE 0.8.0 |
This function is not supported in earlier versions. |
Gets the currently playing position of the Source. With the queueable source type, this method returns a value based on the currently playing buffer only.
Function
Synopsis
position = Source:tell( unit )
Arguments
TimeUnit unit ("seconds")
- The type of unit for the return value.
Returns
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