summaryrefslogtreecommitdiff
path: root/src/lua/stubs/playback.lua
blob: 340da37d27cc7191ca710e0faf800a1913cc4735 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- Properties for interacting with the audio playback system
-- @module playback

local playback = {}

--- Whether or not any audio is *allowed* to be played. If there is a current track, then this is essentially an indicator of whether playback is paused or unpaused.
--- This value isn't meaningful if there is no current track.
-- @treturn types.Property a boolean property
function playback.playing() end

function playback:track() end

function playback:position() end

return playback