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

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

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

revision 1.2 by vizard, Tue Apr 22 02:52:03 2003 UTC revision 1.3 by vizard, Wed Apr 23 02:15:53 2003 UTC
# Line 54  static snd_pcm_hardware_t snd_vortex_pla Line 54  static snd_pcm_hardware_t snd_vortex_pla
54  };  };
55    
56  /* open callback */  /* open callback */
57  static int snd_vortex_pcm_open(snd_pcm_substream_t * substream) {  static int snd_vortex_pcm_open(snd_pcm_substream_t *substream) {
58      chip_t *chip = snd_pcm_substream_chip(substream);      chip_t *chip = snd_pcm_substream_chip(substream);
59      snd_pcm_runtime_t *runtime = substream->runtime;      snd_pcm_runtime_t *runtime = substream->runtime;
60          int dma;          int dma;
# Line 78  static int snd_vortex_pcm_open(snd_pcm_s Line 78  static int snd_vortex_pcm_open(snd_pcm_s
78  }  }
79    
80  /* close callback */  /* close callback */
81  static int snd_vortex_pcm_close(snd_pcm_substream_t * substream) {  static int snd_vortex_pcm_close(snd_pcm_substream_t *substream) {
82      //vortex_t *chip = snd_pcm_substream_chip(substream);      //vortex_t *chip = snd_pcm_substream_chip(substream);
83          dma_t *dma = (dma_t*)substream->runtime->private_data;          dma_t *dma = (dma_t*)substream->runtime->private_data;
84    
# Line 91  static int snd_vortex_pcm_close(snd_pcm_ Line 91  static int snd_vortex_pcm_close(snd_pcm_
91  }  }
92    
93  /* hw_params callback */  /* hw_params callback */
94  static int snd_vortex_pcm_hw_params(snd_pcm_substream_t * substream, snd_pcm_hw_params_t * hw_params) {  static int snd_vortex_pcm_hw_params(snd_pcm_substream_t *substream, snd_pcm_hw_params_t *hw_params) {
95          chip_t *chip = snd_pcm_substream_chip(substream);          chip_t *chip = snd_pcm_substream_chip(substream);
96          snd_pcm_runtime_t *runtime = substream->runtime;          snd_pcm_runtime_t *runtime = substream->runtime;
97          dma_t *dma = (dma_t*)substream->runtime->private_data;          dma_t *dma = (dma_t*)substream->runtime->private_data;
# Line 254  static snd_pcm_ops_t snd_vortex_playback Line 254  static snd_pcm_ops_t snd_vortex_playback
254  */  */
255    
256  /* create a pcm device */  /* create a pcm device */
257  int __devinit snd_vortex_new_pcm(vortex_t * chip, int idx, int nr) {  int __devinit snd_vortex_new_pcm(vortex_t *chip, int idx, int nr) {
258      snd_pcm_t *pcm;      snd_pcm_t *pcm;
259      int err;      int err;
260    

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

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