Author: hselasky
Date: Wed Sep 10 10:09:34 2014
New Revision: 271375
URL: http://svnweb.freebsd.org/changeset/base/271375

Log:
  MFC r271218:
  Update mixer description for FastTrackPro.
  
  Approved by:  re, marius

Modified:
  stable/10/sys/dev/sound/usb/uaudio.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/sound/usb/uaudio.c
==============================================================================
--- stable/10/sys/dev/sound/usb/uaudio.c        Wed Sep 10 10:04:25 2014        
(r271374)
+++ stable/10/sys/dev/sound/usb/uaudio.c        Wed Sep 10 10:09:34 2014        
(r271375)
@@ -2730,14 +2730,14 @@ uaudio_mixer_controls_create_ftu(struct 
 
                uaudio_mixer_add_ctl(sc, &MIX(sc));
 
-               MIX(sc).wValue[0] = MAKE_WORD(9, chy + 1);
+               MIX(sc).wValue[0] = MAKE_WORD(9, chy + 1 + 8);
                MIX(sc).type = MIX_SIGNED_16;
                MIX(sc).ctl = SOUND_MIXER_NRDEVICES;
                MIX(sc).name = "effect_send";
                MIX(sc).nchan = 1;
                MIX(sc).update[0] = 1;
                snprintf(MIX(sc).desc, sizeof(MIX(sc).desc),
-                   "Effect Send DIn%d Volume", chy + 1 + 8);
+                   "Effect Send DIn%d Volume", chy + 1);
 
                uaudio_mixer_add_ctl(sc, &MIX(sc));
        }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to