/external/qemu/distrib/sdl-1.2.12/src/audio/macrom/ |
SDL_romaudio.h | 42 SndDoubleBufferPtr audio_buf[2]; member in struct:SDL_PrivateAudioData 48 #define audio_buf (this->hidden->audio_buf) macro
|
SDL_romaudio.c | 398 if ( audio_buf[i] ) { 399 SDL_free(audio_buf[i]); 400 audio_buf[i] = NULL; 454 audio_buf[i] = SDL_calloc(1, sizeof(SndDoubleBuffer)+spec->size); 455 if ( audio_buf[i] == NULL ) { 459 audio_buf[i]->dbNumFrames = spec->samples; 460 audio_buf[i]->dbFlags = dbBufferReady; 461 audio_buf[i]->dbUserInfo[0] = (long)this; 462 audio_dbh.dbhBufferPtr[i] = audio_buf[i];
|
/external/qemu/distrib/sdl-1.2.12/include/ |
SDL_audio.h | 181 * 'audio_buf' to a malloc()'d buffer containing the audio data, 190 extern DECLSPEC SDL_AudioSpec * SDLCALL SDL_LoadWAV_RW(SDL_RWops *src, int freesrc, SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len); 193 #define SDL_LoadWAV(file, spec, audio_buf, audio_len) \ 194 SDL_LoadWAV_RW(SDL_RWFromFile(file, "rb"),1, spec,audio_buf,audio_len) 199 extern DECLSPEC void SDLCALL SDL_FreeWAV(Uint8 *audio_buf);
|
/prebuilt/darwin-x86/sdl/include/SDL/ |
SDL_audio.h | 181 * 'audio_buf' to a malloc()'d buffer containing the audio data, 190 extern DECLSPEC SDL_AudioSpec * SDLCALL SDL_LoadWAV_RW(SDL_RWops *src, int freesrc, SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len); 193 #define SDL_LoadWAV(file, spec, audio_buf, audio_len) \ 194 SDL_LoadWAV_RW(SDL_RWFromFile(file, "rb"),1, spec,audio_buf,audio_len) 199 extern DECLSPEC void SDLCALL SDL_FreeWAV(Uint8 *audio_buf);
|
/prebuilt/linux-x86/sdl/include/SDL/ |
SDL_audio.h | 181 * 'audio_buf' to a malloc()'d buffer containing the audio data, 190 extern DECLSPEC SDL_AudioSpec * SDLCALL SDL_LoadWAV_RW(SDL_RWops *src, int freesrc, SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len); 193 #define SDL_LoadWAV(file, spec, audio_buf, audio_len) \ 194 SDL_LoadWAV_RW(SDL_RWFromFile(file, "rb"),1, spec,audio_buf,audio_len) 199 extern DECLSPEC void SDLCALL SDL_FreeWAV(Uint8 *audio_buf);
|
/prebuilt/windows/sdl/host/include/SDL/ |
SDL_audio.h | 187 * 'audio_buf' to a malloc()'d buffer containing the audio data, 196 extern DECLSPEC SDL_AudioSpec * SDLCALL SDL_LoadWAV_RW(SDL_RWops *src, int freesrc, SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len); 199 #define SDL_LoadWAV(file, spec, audio_buf, audio_len) \ 200 SDL_LoadWAV_RW(SDL_RWFromFile(file, "rb"),1, spec,audio_buf,audio_len) 205 extern DECLSPEC void SDLCALL SDL_FreeWAV(Uint8 *audio_buf);
|
/prebuilt/windows/sdl/include/SDL/ |
SDL_audio.h | 181 * 'audio_buf' to a malloc()'d buffer containing the audio data, 190 extern DECLSPEC SDL_AudioSpec * SDLCALL SDL_LoadWAV_RW(SDL_RWops *src, int freesrc, SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len); 193 #define SDL_LoadWAV(file, spec, audio_buf, audio_len) \ 194 SDL_LoadWAV_RW(SDL_RWFromFile(file, "rb"),1, spec,audio_buf,audio_len) 199 extern DECLSPEC void SDLCALL SDL_FreeWAV(Uint8 *audio_buf);
|
/external/qemu/distrib/sdl-1.2.12/src/audio/ |
SDL_wave.c | 117 static int MS_ADPCM_decode(Uint8 **audio_buf, Uint32 *audio_len) 128 encoded = *audio_buf; 129 freeable = *audio_buf; 133 *audio_buf = (Uint8 *)SDL_malloc(*audio_len); 134 if ( *audio_buf == NULL ) { 138 decoded = *audio_buf; 327 static int IMA_ADPCM_decode(Uint8 **audio_buf, Uint32 *audio_len) 345 encoded = *audio_buf; 346 freeable = *audio_buf; 350 *audio_buf = (Uint8 *)SDL_malloc(*audio_len) [all...] |