/[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.1 by vizard, Tue Apr 15 22:01:03 2003 UTC revision 1.2 by vizard, Tue Apr 22 02:52:03 2003 UTC
# Line 11  Line 11 
11  #include <sound/core.h>  #include <sound/core.h>
12  #include "au88x0.h"  #include "au88x0.h"
13    
   
14  int __devinit snd_vortex_mixer(vortex_t *vortex) {  int __devinit snd_vortex_mixer(vortex_t *vortex) {
15      ac97_t ac97;      ac97_t ac97;
16        
17      memset(&ac97, 0, sizeof(ac97));      memset(&ac97, 0, sizeof(ac97));
18      // Intialize AC97 codec stuff.      // Intialize AC97 codec stuff.
19      ac97.write = vortex_codec_write;      ac97.write = vortex_codec_write;
20      ac97.read = vortex_codec_read;      ac97.read = vortex_codec_read;
21      ac97.private_data = vortex;      ac97.private_data = vortex;
22        
23      return snd_ac97_mixer(vortex->card, &ac97, &vortex->codec);      return snd_ac97_mixer(vortex->card, &ac97, &vortex->codec);
24  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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