cvs commit: src/sys/dev/sound/pcm ac97.c ac97.h channel.c mixer.c mixer.h sound.h src/sys/dev/sound/usb uaudio_pcm.c

Ariff Abdullah ariff at FreeBSD.org
Sun May 13 20:53:41 UTC 2007


ariff       2007-05-13 20:53:40 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/sound/pcm    ac97.c ac97.h channel.c mixer.c mixer.h 
                         sound.h 
    sys/dev/sound/usb    uaudio_pcm.c 
  Log:
  MFC: [stage: 2/7]
  
  Various fixups, especially for the upcomming High Definition Audio
  commit.
  
  1) sys/dev/sound/pcm/sound.h
     sys/dev/sound/pcm/channel.c
     * Be more specific: SD_F_SOFTVOL -> SD_F_SOFTPCMVOL
  2) sys/dev/sound/pcm/mixer.[ch]
     * Implement
         mix_setparentchild()
         mix_setrealdev()
         mix_getparent()
         mix_getchild()
       The purpose of these functions is implement relative volume
       adjustment, such as to tie two or more mixer device into a
       single logical device. Usefull for the upcoming HDA driver
       and few AC97 codec where the master volume "vol" need to be
       implemented using this logical manner.
  3) sys/dev/sound/pcm/ac97.c
     * ditto #1
     sys/dev/sound/pcm/usb/uaudio_pcm.c
     * ditto #1, hook "pcm" as logical child of "vol" if the real
       control does not exist.
  
  Revision  Changes    Path
  1.53.2.5  +2 -6      src/sys/dev/sound/pcm/ac97.c
  1.16.2.3  +0 -1      src/sys/dev/sound/pcm/ac97.h
  1.99.2.5  +24 -4     src/sys/dev/sound/pcm/channel.c
  1.43.2.5  +167 -30   src/sys/dev/sound/pcm/mixer.c
  1.14.2.1  +4 -0      src/sys/dev/sound/pcm/mixer.h
  1.63.2.3  +1 -1      src/sys/dev/sound/pcm/sound.h
  1.15.2.2  +14 -6     src/sys/dev/sound/usb/uaudio_pcm.c


More information about the cvs-src mailing list