Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.12/src/audio/
DSDL_audiocvt.c1439 Uint32 hi_rate, lo_rate; in SDL_BuildAudioCVT() local
1446 lo_rate = dst_rate; in SDL_BuildAudioCVT()
1458 lo_rate = src_rate; in SDL_BuildAudioCVT()
1470 while ( ((lo_rate*2)/100) <= (hi_rate/100) ) { in SDL_BuildAudioCVT()
1473 lo_rate *= 2; in SDL_BuildAudioCVT()
1477 if ( (lo_rate/100) != (hi_rate/100) ) { in SDL_BuildAudioCVT()
1488 cvt->rate_incr = (double)lo_rate/hi_rate; in SDL_BuildAudioCVT()
1492 cvt->rate_incr = (double)hi_rate/lo_rate; in SDL_BuildAudioCVT()