This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

usb-audio-hp

Vendor: Generic or vendor-independent

Description

USB Audio headphones specific fields.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

resolution

int

Default value: 16

Legal values: 8, 16, 24, 32

sample-rate-hz

int

Default value: 48000

polling-interval

int

Default value: 1

channel-l

boolean

Enable (l) channel.

channel-r

boolean

Enable (r) channel.

channel-c

boolean

Enable (c) channel.

channel-lfe

boolean

Enable (lfe) channel.

channel-ls

boolean

Enable (ls) channel.

channel-rs

boolean

Enable (rs) channel.

channel-lc

boolean

Enable (lc) channel.

channel-rc

boolean

Enable (rc) channel.

channel-s

boolean

Enable (s) channel.

channel-sl

boolean

Enable (sl) channel.

channel-sr

boolean

Enable (sr) channel.

channel-t

boolean

Enable (t) channel.

channel-cfg

boolean

Enable (cfg) channel.

feature-mute

boolean

Enable Mute feature.

This property is required.

feature-volume

boolean

Enable Volume feature.
Currently not supported.

feature-tone-control

boolean

Enable Tone Control (Bass, Mid, Treble) feature.
Currently not supported.

feature-graphic-equalizer

boolean

Enable  Graphic Equalizer feature.
Currently not supported.

feature-automatic-gain-control

boolean

Enable Autoamtic Gain Control feature.
Currently not supported.

feature-delay

boolean

Enable Delay feature.
Currently not supported.

feature-bass-boost

boolean

Enable Bass Boost feature.
Currently not supported.

feature-loudness

boolean

Enable Loudness feature.
Currently not supported.

volume-max

int

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

Default value: 2560

volume-min

int

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

Default value: 47616

volume-res

int

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

Default value: 256