[ALSA] oxygen: generalize handling of DAC volume limits
Add fields for the DAC volume limits to the module structure so that model drivers do not need to install their own control info handlers. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:

committed by
Takashi Iwai

vanhempi
0c0e6daf14
commit
193e813814
@@ -103,6 +103,8 @@ struct oxygen_model {
|
||||
size_t model_data_size;
|
||||
unsigned int pcm_dev_cfg;
|
||||
u8 dac_channels;
|
||||
u8 dac_volume_min;
|
||||
u8 dac_volume_max;
|
||||
u8 misc_flags;
|
||||
u8 function_flags;
|
||||
u16 dac_i2s_format;
|
||||
|
Viittaa uudesa ongelmassa
Block a user