Mercurial > sdl-ios-xcode
diff src/audio/nds/SDL_ndsaudio.h @ 2689:e065c9f6a393 gsoc2008_nds
Some audio work, setting default frequency, volume, etc. and calling a generic playback function that uses them.
author | Darren Alton <dalton@stevens.edu> |
---|---|
date | Fri, 15 Aug 2008 10:44:31 +0000 |
parents | 4135aa9c5645 |
children | e1da92da346c |
line wrap: on
line diff
--- a/src/audio/nds/SDL_ndsaudio.h Fri Aug 15 10:17:07 2008 +0000 +++ b/src/audio/nds/SDL_ndsaudio.h Fri Aug 15 10:44:31 2008 +0000 @@ -25,12 +25,14 @@ #define _SDL_ndsaudio_h #include "../SDL_sysaudio.h" +#include <nds/arm9/sound.h> /* Hidden "this" pointer for the audio functions */ #define _THIS SDL_AudioDevice *this struct SDL_PrivateAudioData { + TransferSoundData* sound; /* The file descriptor for the audio device */ Uint8 *mixbuf; Uint32 mixlen;