Skip to content

Commit

Permalink
Patched OpenBSD audio to compile on newer GCC versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Nov 22, 2005
1 parent 4081553 commit bff0b45
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions src/audio/openbsd/SDL_openbsdaudio.c
Expand Up @@ -262,21 +262,21 @@ OBSD_Status(_THIS)
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,
Expand All @@ -290,14 +290,14 @@ active : %s
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,
Expand Down

0 comments on commit bff0b45

Please sign in to comment.