You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
513 B
14 lines
513 B
--- 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 = {}
|
|
|
|
--- The current volume as a percentage of the current volume limit.
|
|
-- @see types.Property
|
|
volume.current_pct = types.Property
|
|
|
|
--- The current volume in terms of decibels relative to line level.
|
|
-- @see types.Property
|
|
volume.current_db = types.Property
|
|
|
|
return volume
|
|
|