Mercurial > sdl-ios-xcode
diff src/audio/disk/SDL_diskaudio.h @ 1465:8dfa9a6d69a5
Updated WinCE support by Dmitry (with some tweaks)
Converted the disk audio driver to SDL_RWops for portability
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 04 Mar 2006 08:24:35 +0000 |
parents | d910939febfa |
children | 782fd950bd46 a1b03ba2fcd0 |
line wrap: on
line diff
--- a/src/audio/disk/SDL_diskaudio.h Sat Mar 04 05:13:03 2006 +0000 +++ b/src/audio/disk/SDL_diskaudio.h Sat Mar 04 08:24:35 2006 +0000 @@ -24,6 +24,7 @@ #ifndef _SDL_diskaudio_h #define _SDL_diskaudio_h +#include "SDL_rwops.h" #include "../SDL_sysaudio.h" /* Hidden "this" pointer for the video functions */ @@ -31,10 +32,10 @@ struct SDL_PrivateAudioData { /* The file descriptor for the audio device */ - int audio_fd; - Uint8 *mixbuf; - Uint32 mixlen; - Uint32 write_delay; + SDL_RWops *output; + Uint8 *mixbuf; + Uint32 mixlen; + Uint32 write_delay; }; #endif /* _SDL_diskaudio_h */