Home
last modified time | relevance | path

Searched refs:max_audioval (Results 1 – 2 of 2) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/audio/
DSDL_mixer.c151 const int max_audioval = ((1<<(8-1))-1); in SDL_MixAudio()
160 if ( dst_sample > max_audioval ) { in SDL_MixAudio()
161 *dst8 = max_audioval; in SDL_MixAudio()
196 const int max_audioval = ((1<<(16-1))-1); in SDL_MixAudio()
206 if ( dst_sample > max_audioval ) { in SDL_MixAudio()
207 dst_sample = max_audioval; in SDL_MixAudio()
228 const int max_audioval = ((1<<(16-1))-1); in SDL_MixAudio()
238 if ( dst_sample > max_audioval ) { in SDL_MixAudio()
239 dst_sample = max_audioval; in SDL_MixAudio()
DSDL_wave.c86 const Sint32 max_audioval = ((1<<(16-1))-1); in MS_ADPCM_nibble() local
104 if ( new_sample > max_audioval ) { in MS_ADPCM_nibble()
105 new_sample = max_audioval; in MS_ADPCM_nibble()
251 const Sint32 max_audioval = ((1<<(16-1))-1); in IMA_ADPCM_nibble() local
290 if ( state->sample > max_audioval ) { in IMA_ADPCM_nibble()
291 state->sample = max_audioval; in IMA_ADPCM_nibble()