/[openvortex]/alsa/pci/au88x0/au88x0_mixer.c
ViewVC logotype

Diff of /alsa/pci/au88x0/au88x0_mixer.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by mjander, Thu Aug 7 01:58:51 2003 UTC revision 1.6 by vizard, Sun Aug 10 20:00:34 2003 UTC
# Line 1  Line 1 
1  #define __NO_VERSION__  /*
2  #include "../../alsa-kernel/pci/au88x0/au88x0_mixer.c"   * Vortex Mixer support.
3     *
4     * There is much more than just the AC97 mixer...
5     *
6     */
7    
8    #include <sound/driver.h>
9    #include <linux/time.h>
10    #include <linux/init.h>
11    #include <sound/core.h>
12    #include "au88x0.h"
13    
14    int __devinit snd_vortex_mixer(vortex_t *vortex) {
15        ac97_t ac97;
16        memset(&ac97, 0, sizeof(ac97));
17        // Intialize AC97 codec stuff.
18        ac97.write = vortex_codec_write;
19        ac97.read = vortex_codec_read;
20        ac97.private_data = vortex;
21            
22        return snd_ac97_mixer(vortex->card, &ac97, &vortex->codec);
23    }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26