Add handling of linear volume in simple mixer

Added the handling of linear volume TLV in the simple mixer layer.
This commit is contained in:
Takashi Iwai 2006-08-28 13:27:41 +02:00
parent 4962ec5a5c
commit b0bbcd0697
2 changed files with 69 additions and 4 deletions

View file

@ -170,6 +170,11 @@ typedef enum _snd_ctl_event_type {
#define SND_CTL_TLVT_CONTAINER 0x0000
/** TLV type - basic dB scale */
#define SND_CTL_TLVT_DB_SCALE 0x0001
/** TLV type - linear volume */
#define SND_CTL_TLVT_DB_LINEAR 0x0002
/** Mute state */
#define SND_CTL_TLV_DB_GAIN_MUTE -9999999
/** CTL type */
typedef enum _snd_ctl_type {