svn commit: r271218 - head/sys/dev/sound/usb

Hans Petter Selasky hselasky at FreeBSD.org
Sun Sep 7 07:23:34 UTC 2014


Author: hselasky
Date: Sun Sep  7 07:23:33 2014
New Revision: 271218
URL: http://svnweb.freebsd.org/changeset/base/271218

Log:
  Update mixer description for FastTrackPro.
  
  MFC after:	3 days

Modified:
  head/sys/dev/sound/usb/uaudio.c

Modified: head/sys/dev/sound/usb/uaudio.c
==============================================================================
--- head/sys/dev/sound/usb/uaudio.c	Sun Sep  7 05:47:48 2014	(r271217)
+++ head/sys/dev/sound/usb/uaudio.c	Sun Sep  7 07:23:33 2014	(r271218)
@@ -2724,14 +2724,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));
 	}


More information about the svn-src-head mailing list