--- ../../gnome-applets-2.6.0/mixer/mixer.c	2004-02-28 11:55:09.000000000 -0800
+++ mixer.c	2004-05-11 08:07:04.384547736 -0700
@@ -238,7 +238,7 @@
 	t = (vol - track->min_volume) /
 		(double) (track->max_volume - track->min_volume);
 
-	return (gint) (VOLUME_MAX * t);
+	return (gint) rint((VOLUME_MAX * t));
 }
 
 /*
@@ -255,8 +255,8 @@
 
 	t = vol / (double) VOLUME_MAX;
 	
-	return (gint) (t * (track->max_volume - track->min_volume)
-		       + track->min_volume);
+	return (gint) rint((t * (track->max_volume - track->min_volume)
+		       + track->min_volume));
 }
 
 static int
@@ -280,7 +280,7 @@
 	
 	vol /= cdata->track->num_channels;
 
-	return gstreamer_normalize_volume (cdata->track, (gint) vol);
+	return gstreamer_normalize_volume (cdata->track, (gint) rint(vol));
 }
 
 static void
