[ALSA] oxygen: make the number of analog output configurable

Add a field to struct oxygen_model to allow model drivers for cards with
less than eight output channels.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Clemens Ladisch
2008-01-25 08:37:49 +01:00
committed by Jaroslav Kysela
orang tua 09189ac793
melakukan 976cd62700
5 mengubah file dengan 24 tambahan dan 8 penghapusan

Melihat File

@@ -85,6 +85,7 @@ struct oxygen_model {
void (*update_dac_volume)(struct oxygen *chip);
void (*update_dac_mute)(struct oxygen *chip);
size_t model_data_size;
u8 dac_channels;
u8 used_channels;
u8 function_flags;
u16 dac_i2s_format;