K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-05-13T20:53:40.000000Z K 7 svn:log V 829 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. END