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:
Takashi Iwai 2006-09-06 12:17:29 +02:00
parent 72834bfd95
commit fba26cd668
2 changed files with 146 additions and 50 deletions

View file

@ -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