diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-11-09 23:09:44 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-11-09 23:09:44 +0000 |
commit | fb065187e4ee9e0d1709b344ec01bb426ff1e43b (patch) | |
tree | ca7bf5ed6f0731429b9f9b6d62f2993583c9bcfb /audio/sdlaudio.c | |
parent | bf71c9d9b64a70e56db351c38ff71e5e27d871e7 (diff) |
audio clean up (initial patch by malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1131 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio/sdlaudio.c')
-rw-r--r-- | audio/sdlaudio.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/audio/sdlaudio.c b/audio/sdlaudio.c index 4d75853422..6103c4511b 100644 --- a/audio/sdlaudio.c +++ b/audio/sdlaudio.c @@ -25,9 +25,18 @@ #include <SDL/SDL_thread.h> #include "vl.h" -#define AUDIO_CAP "sdl" -#include "audio/audio.h" -#include "audio/sdlaudio.h" +#include "audio/audio_int.h" + +typedef struct SDLVoice { + HWVoice hw; +} SDLVoice; + +#define dolog(...) AUD_log ("sdl", __VA_ARGS__) +#ifdef DEBUG +#define ldebug(...) dolog (__VA_ARGS__) +#else +#define ldebug(...) +#endif #define QC_SDL_SAMPLES "QEMU_SDL_SAMPLES" |