$OpenBSD: patch-Output_sun_audio_c,v 1.1 2004/01/23 01:41:06 naddy Exp $
--- Output/sun/audio.c.orig	2004-01-22 20:42:58.000000000 +0100
+++ Output/sun/audio.c	2004-01-22 20:44:08.000000000 +0100
@@ -124,14 +124,12 @@ sun_setformat(AFormat fmt, gint rate, gi
 	
 	sun = sun_format(fmt);
 
-	effect.format.sun = sun;
 	effect.format.xmms = fmt;
 	effect.frequency = rate;
 	effect.channels = nch;
 	effect.bps = sun_bps(sun, rate, nch);
 
 	output.format.sun = sun;
-	output.format.xmms = fmt;
 	output.frequency = rate;
 	output.channels = nch;
 	sun_setparams();
