comparison src/audio/bsd/SDL_bsdaudio.c @ 3816:9d070c1a45fa SDL-ryan-multiple-audio-device

Moved AudioBootstrap section in converted drivers to bottom of source, so I could delete the predeclarations (one more thing to forget to update when changing the API, otherwise). There're a few other cleanups that snuck into this commit, too.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 06 Oct 2006 04:46:58 +0000
parents c8b3d3d13ed1
children 1f156fd874fa
comparison
equal deleted inserted replaced
3815:3234d6eee011 3816:9d070c1a45fa
267 "paused : %s\n" 267 "paused : %s\n"
268 "error occured : %s\n" 268 "error occured : %s\n"
269 "waiting : %s\n" 269 "waiting : %s\n"
270 "active : %s\n" 270 "active : %s\n"
271 "", 271 "",
272 info. 272 info.play.buffer_size,
273 play. 273 info.play.sample_rate,
274 buffer_size, 274 info.play.channels,
275 info. 275 info.play.precision,
276 play. 276 info.play.encoding,
277 sample_rate, 277 info.play.seek,
278 info. 278 info.play.samples,
279 play. 279 info.play.eof,
280 channels, 280 info.play.pause ? "yes" : "no",
281 info. 281 info.play.error ? "yes" : "no",
282 play. 282 info.play.waiting ? "yes" : "no",
283 precision, 283 info.play.active ? "yes" : "no");
284 info.
285 play.
286 encoding,
287 info.
288 play.
289 seek,
290 info.
291 play.
292 samples,
293 info.
294 play.
295 eof,
296 info.
297 play.
298 pause
299 ?
300 "yes"
301 :
302 "no",
303 info.
304 play.
305 error
306 ?
307 "yes"
308 :
309 "no",
310 info.
311 play.waiting ? "yes" : "no", info.play.active ? "yes" : "no");
312 284
313 fprintf(stderr, "\n" 285 fprintf(stderr, "\n"
314 "[audio info]\n" 286 "[audio info]\n"
315 "monitor_gain : %i\n" 287 "monitor_gain : %i\n"
316 "hw block size : %d bytes\n" 288 "hw block size : %d bytes\n"