diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-01-05 17:15:47 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-01-05 17:15:47 +1100 |
| commit | e12a68a74d9527d4becde122da4ff1ad6550564e (patch) | |
| tree | 1d987e513efe693bc48817acbc0e89d7db044828 /luals-stubs/playback.lua | |
| parent | aa1dd3d522aa60c2e8ec31ccc49b3459b4f0f8e2 (diff) | |
| download | tangara-fw-e12a68a74d9527d4becde122da4ff1ad6550564e.tar.gz | |
split lua stubs into one set for ldoc, and one set for lua-ls
Diffstat (limited to 'luals-stubs/playback.lua')
| -rw-r--r-- | luals-stubs/playback.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/luals-stubs/playback.lua b/luals-stubs/playback.lua new file mode 100644 index 00000000..cd54ddb3 --- /dev/null +++ b/luals-stubs/playback.lua @@ -0,0 +1,10 @@ +--- @meta + +--- Properties for interacting with the audio playback system +--- @class playback +--- @field playing Property Whether or not audio is allowed to be played. if there is a current track, then this indicated whether playback is paused or unpaused. If there is no current track, this determines what will happen when the first track is added to the queue. +--- @field track Property The currently playing track. +--- @field position Property The current playback position within the current track, in seconds. +local playback = {} + +return playback |
