blob: 7a4356f4ed510133dd4dd33f7ee08aa4519b81b1 [file] [log] [blame]
# Copyright (c) 2023, LISTENAI
# SPDX-License-Identifier: Apache-2.0
#
# Specific fields for USB volume control.
description: USB volume control specific fields.
compatible: "usb-audio-feature-volume"
include: base.yaml
properties:
volume-max:
type: int
default: 0x0A00
description: |
attention: this attribute is a signed value.
This attribute represents the maximum volume level.
The range from +127.9961 dB (0x7FFF) down to -127.9961 dB (0x8001).
Valid range: 0 - 0xFFFF
volume-min:
type: int
default: 0xBA00
description: |
attention: this attribute is a signed value.
This attribute represents the minimum volume level.
The range from +127.9961 dB (0x7FFF) down to -127.9961 dB (0x8001).
Valid range: 0 - 0xFFFF
volume-res:
type: int
default: 0x100
description: |
attention: this attribute can only take positive values.
This attribute represents the volume resolution(step).
1 = 1/256 dB or 0.00390625 dB.
0x100(256) = 1dB.
Valid range: 1 - 0x7FFF