By default all the real targets have dummy audio/video and disk audio.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401537
This commit is contained in:
Sam Lantinga 2006-03-14 16:19:32 +00:00
parent 66d3d81854
commit 5e6d989ad4
9 changed files with 51 additions and 271 deletions

View file

@ -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 void DUMMYAUD_CloseAudio(_THIS)
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);