mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Add support of dB range compound TLV
Added the support of dB range compound TLV type in the simple mixer layer. All get_dB, get_dB_range and set_dB ops are supported.
This commit is contained in:
parent
72834bfd95
commit
fba26cd668
2 changed files with 146 additions and 50 deletions
|
|
@ -172,6 +172,8 @@ typedef enum _snd_ctl_event_type {
|
|||
#define SND_CTL_TLVT_DB_SCALE 0x0001
|
||||
/** TLV type - linear volume */
|
||||
#define SND_CTL_TLVT_DB_LINEAR 0x0002
|
||||
/** TLV type - dB range container */
|
||||
#define SND_CTL_TLVT_DB_RANGE 0x0003
|
||||
|
||||
/** Mute state */
|
||||
#define SND_CTL_TLV_DB_GAIN_MUTE -9999999
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue