Update alsa interface and gain widget to support linear volume

# Conflicts:
#	src/alsa.c
This commit is contained in:
Geoffrey D. Bennett
2025-02-20 23:41:16 +10:30
parent 4a40b00695
commit 78e2d9642f
4 changed files with 63 additions and 22 deletions

View File

@@ -126,11 +126,12 @@ struct alsa_elem {
int count;
int index;
// for gain/volume elements, the dB range and step
// for gain/volume elements, the value range, dB type, and dB range
int min_val;
int max_val;
int min_dB;
int max_dB;
int dB_type;
int min_cdB;
int max_cdB;
// for routing sinks
int is_routing_snk;