1# Copyright (c) 2023, LISTENAI 2# SPDX-License-Identifier: Apache-2.0 3# 4# Specific fields for USB volume control. 5 6description: USB volume control specific fields. 7 8compatible: "usb-audio-feature-volume" 9 10include: base.yaml 11 12properties: 13 volume-max: 14 type: int 15 default: 0x0A00 16 description: | 17 attention: this attribute is a signed value. 18 This attribute represents the maximum volume level. 19 The range from +127.9961 dB (0x7FFF) down to -127.9961 dB (0x8001). 20 Valid range: 0 - 0xFFFF 21 volume-min: 22 type: int 23 default: 0xBA00 24 description: | 25 attention: this attribute is a signed value. 26 This attribute represents the minimum volume level. 27 The range from +127.9961 dB (0x7FFF) down to -127.9961 dB (0x8001). 28 Valid range: 0 - 0xFFFF 29 volume-res: 30 type: int 31 default: 0x100 32 description: | 33 attention: this attribute can only take positive values. 34 This attribute represents the volume resolution(step). 35 1 = 1/256 dB or 0.00390625 dB. 36 0x100(256) = 1dB. 37 Valid range: 1 - 0x7FFF 38