diff options
| author | ailurux <ailuruxx@gmail.com> | 2024-08-29 15:20:22 +1000 |
|---|---|---|
| committer | ailurux <ailuruxx@gmail.com> | 2024-08-29 15:20:22 +1000 |
| commit | 96a224c0df4f647b3e5dbbcbbedad3a1d38470ba (patch) | |
| tree | 8960865293dde6f9844b7b1a42d5775d5dceceb2 /luals-stubs/playback.lua | |
| parent | 3421bd652c39b253872e43d3b6e43664bd0b66e2 (diff) | |
| download | tangara-fw-96a224c0df4f647b3e5dbbcbbedad3a1d38470ba.tar.gz | |
Lua API improvements and fixes
Co-authored-by: jacqueline <me@jacqueline.id.au>
Diffstat (limited to 'luals-stubs/playback.lua')
| -rw-r--r-- | luals-stubs/playback.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/luals-stubs/playback.lua b/luals-stubs/playback.lua index 85392e93..f905f384 100644 --- a/luals-stubs/playback.lua +++ b/luals-stubs/playback.lua @@ -8,4 +8,9 @@ --- @field position Property The current playback position within the current track, in seconds. local playback = {} +--- Returns whether or not this file can be played (i.e. is this an audio track) +--- @param filepath string +--- @return boolean +function playback.is_playable(filepath) end + return playback |
