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 /src/lua/stubs/volume.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 'src/lua/stubs/volume.lua')
| -rw-r--r-- | src/lua/stubs/volume.lua | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/lua/stubs/volume.lua b/src/lua/stubs/volume.lua deleted file mode 100644 index 15499630..00000000 --- a/src/lua/stubs/volume.lua +++ /dev/null @@ -1,14 +0,0 @@ ---- Module for interacting with playback volume. The Bluetooth and wired outputs store their current volume separately; this API only allows interacting with the volume of the currently used output device. --- @module volume - -local volume = {} - ---- Returns the current volume as a percentage of the current volume limit. --- @treturn types.Property an integer property -function volume.current_pct() end - ---- Returns the current volume in terms of dB from line level. --- @treturn types.Property an integer property -function volume.current_db() end - -return volume |
