Searched refs:audio_len (Results 1 – 2 of 2) sorted by relevance
/external/qemu/distrib/sdl-1.2.12/src/audio/ |
D | SDL_wave.c | 117 static int MS_ADPCM_decode(Uint8 **audio_buf, Uint32 *audio_len) in MS_ADPCM_decode() argument 127 encoded_len = *audio_len; in MS_ADPCM_decode() 130 *audio_len = (encoded_len/MS_ADPCM_state.wavefmt.blockalign) * in MS_ADPCM_decode() 133 *audio_buf = (Uint8 *)SDL_malloc(*audio_len); in MS_ADPCM_decode() 327 static int IMA_ADPCM_decode(Uint8 **audio_buf, Uint32 *audio_len) in IMA_ADPCM_decode() argument 344 encoded_len = *audio_len; in IMA_ADPCM_decode() 347 *audio_len = (encoded_len/IMA_ADPCM_state.wavefmt.blockalign) * in IMA_ADPCM_decode() 350 *audio_buf = (Uint8 *)SDL_malloc(*audio_len); in IMA_ADPCM_decode() 397 SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len) in SDL_LoadWAV_RW() argument 531 *audio_len = lenread; in SDL_LoadWAV_RW() [all …]
|
/external/qemu/distrib/sdl-1.2.12/include/ |
D | SDL_audio.h | 190 …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) \ argument 194 SDL_LoadWAV_RW(SDL_RWFromFile(file, "rb"),1, spec,audio_buf,audio_len)
|