diff options
Diffstat (limited to 'src/lua/stubs/playback.lua')
| -rw-r--r-- | src/lua/stubs/playback.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lua/stubs/playback.lua b/src/lua/stubs/playback.lua new file mode 100644 index 00000000..d32febae --- /dev/null +++ b/src/lua/stubs/playback.lua @@ -0,0 +1,11 @@ +--- 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 + +return playback |
