Fix sun output plugin. This only ever worked by accident.
This commit is contained in:
parent
2715832200
commit
50d42dabc2
18
audio/xmms/patches/patch-Output_sun_audio_c
Normal file
18
audio/xmms/patches/patch-Output_sun_audio_c
Normal file
@ -0,0 +1,18 @@
|
||||
$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();
|
Loading…
Reference in New Issue
Block a user