]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/pci/oxygen/oxygen.h
[ALSA] oxygen: add control filter to model struct
[linux-2.6-omap-h63xx.git] / sound / pci / oxygen / oxygen.h
index 9b0234d81d4e1e62684602e427cae10b170c8d95..7278c1563597f516c98f4645684b7a35855c36ce 100644 (file)
@@ -35,6 +35,7 @@ struct pci_dev;
 struct snd_card;
 struct snd_pcm_substream;
 struct snd_pcm_hw_params;
+struct snd_kcontrol_new;
 struct snd_rawmidi;
 struct oxygen_model;
 
@@ -71,6 +72,7 @@ struct oxygen_model {
        const char *chip;
        struct module *owner;
        void (*init)(struct oxygen *chip);
+       int (*control_filter)(struct snd_kcontrol_new *template);
        int (*mixer_init)(struct oxygen *chip);
        void (*cleanup)(struct oxygen *chip);
        void (*set_dac_params)(struct oxygen *chip,
@@ -79,10 +81,7 @@ struct oxygen_model {
                               struct snd_pcm_hw_params *params);
        void (*update_dac_volume)(struct oxygen *chip);
        void (*update_dac_mute)(struct oxygen *chip);
-       const unsigned int *dac_tlv;
        u8 used_channels;
-       u8 cd_in_from_video_in;
-       u8 dac_minimum_volume;
        u8 function_flags;
 };