You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @property {object} [volume] - This field is populated for outputs that support volume control.<p style='white-space: pre-wrap;'>
* Note that volume values, bounds, and step are floating point values, not integers, and that volume ranges can extend below and above zero, sometimes at the same time.
*
* Examples:
*
* This list of examples is not meant to be exhaustive--it just serves to create a sense of the range of options out there.
* <pre>
* { "type": "db", "min": -80, "max": 0, "value": -50.5, "step": 0.5 }
* { "type": "db", "min": -80, "max": 10, "value": 4, "step": 1.0 }
* { "type": "number" "min": 0, "max": 100, "value": 80, "step": 1.0 }
* { "type": "number" "min": 1, "max": 99, "value": 65, "step": 1.0 }
* { "type": "incremental" }
* </pre>
* </pre>
* @property {('number'|'db'|'incremental'|*)} [volume.type] - If you receive an unanticipated value for this, treat it like "number". The "incremental" type represents a volume control that just has "+" and "-" buttons, with no feedback about the current volume value or its range. It might be used in conjunction with an IR blaster, for example. In this case, all of the remaining properties (min,max,step,value,is_muted,limits) will be absent. With an "incremental" control, you should display two buttons, and when issuing change_volume requests, use "relative" mode and only send adjustments of +1/-1.
* @property {number} [volume.min] - The minimum value in the volume range
* @property {number} [volume.max] - The maximum value in the volume range
* @property {number} [volume.value] - The current value of the volume control
* @property {number} [volume.step] - The step size for the volume control, in terms of its native units
* @property {boolean} [volume.is_muted] - True if the zone is muted, false otherwise
The text was updated successfully, but these errors were encountered:
Not all Roon zones support volume setting: check for
type: incremental
.https://github.com/RoonLabs/node-roon-api-transport/blob/master/lib.js#L62-L73
The text was updated successfully, but these errors were encountered: