Searched refs:audio_buf (Results 1 – 4 of 4) sorted by relevance
/external/qemu/distrib/sdl-1.2.15/src/audio/ |
D | SDL_wave.c | 115 static int MS_ADPCM_decode(Uint8 **audio_buf, Uint32 *audio_len) in MS_ADPCM_decode() argument 126 encoded = *audio_buf; in MS_ADPCM_decode() 127 freeable = *audio_buf; in MS_ADPCM_decode() 131 *audio_buf = (Uint8 *)SDL_malloc(*audio_len); in MS_ADPCM_decode() 132 if ( *audio_buf == NULL ) { in MS_ADPCM_decode() 136 decoded = *audio_buf; in MS_ADPCM_decode() 323 static int IMA_ADPCM_decode(Uint8 **audio_buf, Uint32 *audio_len) in IMA_ADPCM_decode() argument 341 encoded = *audio_buf; in IMA_ADPCM_decode() 342 freeable = *audio_buf; in IMA_ADPCM_decode() 346 *audio_buf = (Uint8 *)SDL_malloc(*audio_len); in IMA_ADPCM_decode() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/audio/macrom/ |
D | SDL_romaudio.h | 42 SndDoubleBufferPtr audio_buf[2]; member 48 #define audio_buf (this->hidden->audio_buf) macro
|
D | SDL_romaudio.c | 398 if ( audio_buf[i] ) { in Mac_CloseAudio() 399 SDL_free(audio_buf[i]); in Mac_CloseAudio() 400 audio_buf[i] = NULL; in Mac_CloseAudio() 454 audio_buf[i] = SDL_calloc(1, sizeof(SndDoubleBuffer)+spec->size); in Mac_OpenAudio() 455 if ( audio_buf[i] == NULL ) { in Mac_OpenAudio() 459 audio_buf[i]->dbNumFrames = spec->samples; in Mac_OpenAudio() 460 audio_buf[i]->dbFlags = dbBufferReady; in Mac_OpenAudio() 461 audio_buf[i]->dbUserInfo[0] = (long)this; in Mac_OpenAudio() 462 audio_dbh.dbhBufferPtr[i] = audio_buf[i]; in Mac_OpenAudio()
|
/external/qemu/distrib/sdl-1.2.15/include/ |
D | SDL_audio.h | 215 …DL_LoadWAV_RW(SDL_RWops *src, int freesrc, SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_l… 218 #define SDL_LoadWAV(file, spec, audio_buf, audio_len) \ argument 219 SDL_LoadWAV_RW(SDL_RWFromFile(file, "rb"),1, spec,audio_buf,audio_len) 224 extern DECLSPEC void SDLCALL SDL_FreeWAV(Uint8 *audio_buf);
|