Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37728703
en ru br
ALT Linux repositórios
S:0.9.0-alt6

Group :: Som
RPM: alsamixergui

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: alsamisergui-fix-compile-gcc-3.4.patch
Download


--- alsamixergui-0.9.0rc1-2/src/alsamixer.cxx--	2004-06-15 17:53:10.291959340 +0200
+++ alsamixergui-0.9.0rc1-2/src/alsamixer.cxx	2004-06-15 18:04:09.046185198 +0200
@@ -653,10 +653,12 @@ mixer_write_cbar (int elem_index)
     if (vleft >= 0 && vright >= 0) {
       if (joined) {
 #ifdef ALSAMIXER_GUI
-	for (chn = snd_mixer_selem_channel_id_t(0); chn < SND_MIXER_SCHN_LAST; 
-	snd_mixer_selem_channel_id_t(int(chn)++))
+	for (chn = snd_mixer_selem_channel_id_t(0); chn < SND_MIXER_SCHN_LAST;
+	     snd_mixer_selem_channel_id_t(chn))
+	  {
 #else
 	for (chn = 0; chn < SND_MIXER_SCHN_LAST; chn++)
+	  {
 #endif
 	  if (type != MIXER_ELEM_CAPTURE) {
 	    if (snd_mixer_selem_has_playback_channel(elem, chn))
@@ -665,6 +667,12 @@ mixer_write_cbar (int elem_index)
 	    if (snd_mixer_selem_has_capture_channel(elem, chn))
 	      snd_mixer_selem_set_capture_volume(elem, chn, vleft);
 	  }
+#ifdef ALSAMIXER_GUI
+	  int val = int(chn);
+	  ++val;
+	  chn = (snd_mixer_selem_channel_id_t)val;
+#endif
+	  }
       } else {
 	if (mixer_balance_volumes)
 	  vleft = vright = vbalance;
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009