Update of /cvsroot/alsa/alsa-kernel/pci/rme9652 In directory sc8-pr-cvs1:/tmp/cvs-serv17648/pci/rme9652
Modified Files: hdsp.c rme9652.c Log Message: Control API update - separated volatile data from snd_kcontrol_t to reduce space for multi elements - added multi elements - changed trident driver to use multi elements - added dimen union to the info structure to describe matrix Index: hdsp.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/rme9652/hdsp.c,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- hdsp.c 4 Mar 2003 16:47:35 -0000 1.26 +++ hdsp.c 1 Apr 2003 13:55:49 -0000 1.27 @@ -2717,7 +2717,7 @@ SNDRV_PCM_HW_PARAM_CHANNELS, -1); hdsp->creg_spdif_stream = hdsp->creg_spdif; - hdsp->spdif_ctl->access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; + hdsp->spdif_ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; snd_ctl_notify(hdsp->card, SNDRV_CTL_EVENT_MASK_VALUE | SNDRV_CTL_EVENT_MASK_INFO, &hdsp->spdif_ctl->id); return 0; @@ -2735,7 +2735,7 @@ spin_unlock_irqrestore(&hdsp->lock, flags); - hdsp->spdif_ctl->access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; + hdsp->spdif_ctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; snd_ctl_notify(hdsp->card, SNDRV_CTL_EVENT_MASK_VALUE | SNDRV_CTL_EVENT_MASK_INFO, &hdsp->spdif_ctl->id); return 0; Index: rme9652.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/rme9652/rme9652.c,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- rme9652.c 1 Mar 2003 19:03:22 -0000 1.30 +++ rme9652.c 1 Apr 2003 13:55:49 -0000 1.31 @@ -2403,7 +2403,7 @@ SNDRV_PCM_HW_PARAM_CHANNELS, -1); rme9652->creg_spdif_stream = rme9652->creg_spdif; - rme9652->spdif_ctl->access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; + rme9652->spdif_ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; snd_ctl_notify(rme9652->card, SNDRV_CTL_EVENT_MASK_VALUE | SNDRV_CTL_EVENT_MASK_INFO, &rme9652->spdif_ctl->id); return 0; @@ -2421,7 +2421,7 @@ spin_unlock_irqrestore(&rme9652->lock, flags); - rme9652->spdif_ctl->access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; + rme9652->spdif_ctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; snd_ctl_notify(rme9652->card, SNDRV_CTL_EVENT_MASK_VALUE | SNDRV_CTL_EVENT_MASK_INFO, &rme9652->spdif_ctl->id); return 0; ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog