/external/qemu/distrib/sdl-1.2.15/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.15/include/ |
SDL_audio.h | 206 * 'audio_buf' to a malloc()'d buffer containing the audio data, 215 extern DECLSPEC SDL_AudioSpec * SDLCALL SDL_LoadWAV_RW(SDL_RWops *src, int freesrc, SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len); 218 #define SDL_LoadWAV(file, spec, audio_buf, audio_len) \ 219 SDL_LoadWAV_RW(SDL_RWFromFile(file, "rb"),1, spec,audio_buf,audio_len) 224 extern DECLSPEC void SDLCALL SDL_FreeWAV(Uint8 *audio_buf);
|
/prebuilts/tools/darwin-x86/sdl/include/SDL/ |
SDL_audio.h | 206 * 'audio_buf' to a malloc()'d buffer containing the audio data, 215 extern DECLSPEC SDL_AudioSpec * SDLCALL SDL_LoadWAV_RW(SDL_RWops *src, int freesrc, SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len); 218 #define SDL_LoadWAV(file, spec, audio_buf, audio_len) \ 219 SDL_LoadWAV_RW(SDL_RWFromFile(file, "rb"),1, spec,audio_buf,audio_len) 224 extern DECLSPEC void SDLCALL SDL_FreeWAV(Uint8 *audio_buf);
|
/prebuilts/tools/linux-x86/sdl/include/SDL/ |
SDL_audio.h | 206 * 'audio_buf' to a malloc()'d buffer containing the audio data, 215 extern DECLSPEC SDL_AudioSpec * SDLCALL SDL_LoadWAV_RW(SDL_RWops *src, int freesrc, SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len); 218 #define SDL_LoadWAV(file, spec, audio_buf, audio_len) \ 219 SDL_LoadWAV_RW(SDL_RWFromFile(file, "rb"),1, spec,audio_buf,audio_len) 224 extern DECLSPEC void SDLCALL SDL_FreeWAV(Uint8 *audio_buf);
|
/prebuilts/tools/windows/sdl/include/SDL/ |
SDL_audio.h | 206 * 'audio_buf' to a malloc()'d buffer containing the audio data, 215 extern DECLSPEC SDL_AudioSpec * SDLCALL SDL_LoadWAV_RW(SDL_RWops *src, int freesrc, SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len); 218 #define SDL_LoadWAV(file, spec, audio_buf, audio_len) \ 219 SDL_LoadWAV_RW(SDL_RWFromFile(file, "rb"),1, spec,audio_buf,audio_len) 224 extern DECLSPEC void SDLCALL SDL_FreeWAV(Uint8 *audio_buf);
|
/external/qemu/distrib/sdl-1.2.15/src/audio/ |
SDL_wave.c | 115 static int MS_ADPCM_decode(Uint8 **audio_buf, Uint32 *audio_len) 126 encoded = *audio_buf; 127 freeable = *audio_buf; 131 *audio_buf = (Uint8 *)SDL_malloc(*audio_len); 132 if ( *audio_buf == NULL ) { 136 decoded = *audio_buf; 323 static int IMA_ADPCM_decode(Uint8 **audio_buf, Uint32 *audio_len) 341 encoded = *audio_buf; 342 freeable = *audio_buf; 346 *audio_buf = (Uint8 *)SDL_malloc(*audio_len) [all...] |