mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
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:
parent
4962ec5a5c
commit
b0bbcd0697
2 changed files with 69 additions and 4 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue