diff src/audio/openbsd/SDL_openbsdaudio.c @ 1186:0276947bee66

Patched OpenBSD audio to compile on newer GCC versions.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 22 Nov 2005 15:11:33 +0000
parents b8d311d90021
children 3692456e7b0f
line wrap: on
line diff
--- a/src/audio/openbsd/SDL_openbsdaudio.c	Tue Nov 22 15:10:41 2005 +0000
+++ b/src/audio/openbsd/SDL_openbsdaudio.c	Tue Nov 22 15:11:33 2005 +0000
@@ -262,21 +262,21 @@
 	return;
     }
 
-    fprintf(stderr,"
-[play/record info]
-buffer size	:   %d bytes
-sample rate	:   %i Hz
-channels	:   %i
-precision	:   %i-bit
-encoding	:   0x%x
-seek		:   %i
-sample count	:   %i
-EOF count	:   %i
-paused		:   %s
-error occured	:   %s
-waiting		:   %s
-active		:   %s
-",
+    fprintf(stderr,"\n"
+"[play/record info]\n"
+"buffer size	:   %d bytes\n"
+"sample rate	:   %i Hz\n"
+"channels	:   %i\n"
+"precision	:   %i-bit\n"
+"encoding	:   0x%x\n"
+"seek		:   %i\n"
+"sample count	:   %i\n"
+"EOF count	:   %i\n"
+"paused		:   %s\n"
+"error occured	:   %s\n"
+"waiting		:   %s\n"
+"active		:   %s\n"
+"",
     info.play.buffer_size,
     info.play.sample_rate,
     info.play.channels,
@@ -290,14 +290,14 @@
     info.play.waiting ? "yes" : "no",
     info.play.active ? "yes": "no");
 
-    fprintf(stderr,"
-[audio info]
-monitor_gain	:   %i
-hw block size	:   %d bytes
-hi watermark	:   %i
-lo watermark	:   %i
-audio mode	:   %s
-",  
+    fprintf(stderr,"\n"
+"[audio info]\n"
+"monitor_gain	:   %i\n"
+"hw block size	:   %d bytes\n"
+"hi watermark	:   %i\n"
+"lo watermark	:   %i\n"
+"audio mode	:   %s\n"
+"",  
     info.monitor_gain,
     info.blocksize,
     info.hiwat, info.lowat,