diff src/audio/dummy/SDL_dummyaudio.c @ 1533:38c1eb6b0083

By default all the real targets have dummy audio/video and disk audio.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 14 Mar 2006 16:19:32 +0000
parents 30f189cdd82b
children 60620d71e324
line wrap: on
line diff
--- a/src/audio/dummy/SDL_dummyaudio.c	Tue Mar 14 08:53:33 2006 +0000
+++ b/src/audio/dummy/SDL_dummyaudio.c	Tue Mar 14 16:19:32 2006 +0000
@@ -24,11 +24,7 @@
 */
 #include "SDL_config.h"
 
-/* Output raw audio data to a file. */
-
-#if HAVE_STDIO_H
-#include <stdio.h>
-#endif
+/* Output audio to nowhere... */
 
 #include "SDL_rwops.h"
 #include "SDL_timer.h"
@@ -135,11 +131,6 @@
 
 static int DUMMYAUD_OpenAudio(_THIS, SDL_AudioSpec *spec)
 {
-#if HAVE_STDIO_H
-	fprintf(stderr, "\nWARNING: You are using the SDL dummy audio driver!"
-                    " No sound will be output!\n\n");
-#endif
-
 	/* Allocate mixing buffer */
 	this->hidden->mixlen = spec->size;
 	this->hidden->mixbuf = (Uint8 *) SDL_AllocAudioMem(this->hidden->mixlen);