Searched refs:audio_len (Results 1 – 2 of 2) 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 125 encoded_len = *audio_len; in MS_ADPCM_decode() 128 *audio_len = (encoded_len/MS_ADPCM_state.wavefmt.blockalign) * in MS_ADPCM_decode() 131 *audio_buf = (Uint8 *)SDL_malloc(*audio_len); in MS_ADPCM_decode() 323 static int IMA_ADPCM_decode(Uint8 **audio_buf, Uint32 *audio_len) in IMA_ADPCM_decode() argument 340 encoded_len = *audio_len; in IMA_ADPCM_decode() 343 *audio_len = (encoded_len/IMA_ADPCM_state.wavefmt.blockalign) * in IMA_ADPCM_decode() 346 *audio_buf = (Uint8 *)SDL_malloc(*audio_len); in IMA_ADPCM_decode() 393 SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len) in SDL_LoadWAV_RW() argument 529 *audio_len = lenread; in SDL_LoadWAV_RW() [all …]
|
/external/qemu/distrib/sdl-1.2.15/include/ |
D | SDL_audio.h | 215 …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) \ argument 219 SDL_LoadWAV_RW(SDL_RWFromFile(file, "rb"),1, spec,audio_buf,audio_len)
|