# HG changeset patch # User Ryan C. Gordon # Date 1132672293 0 # Node ID 0276947bee665f02b7a9a3fd1bd1e6da1a057907 # Parent 58538e140e2d878dc5919291a66b9fa4b53b93ba Patched OpenBSD audio to compile on newer GCC versions. diff -r 58538e140e2d -r 0276947bee66 src/audio/openbsd/SDL_openbsdaudio.c --- 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,