Lines Matching defs:rate
407 int i, tmp, rate;
409 rate = 0;
415 if (tmp > rate)
416 rate = tmp;
425 if (tmp > rate)
426 rate = tmp;
429 RANGE(rate, 48, 9600);
430 sc->timerinterval = 48000 / rate;
486 emu_rate_to_pitch(u_int32_t rate)
526 if (rate == 0)
528 rate *= 11185; /* Scale 48000 to 0x20002380 */
530 if (rate & 0x80000000) { /* Detect leading "1" */
532 logMagTable[0x7f & (rate >> 24)] +
533 (0x7f & (rate >> 17)) *
534 logSlopeTable[0x7f & (rate >> 24)]);
536 rate <<= 1;
543 emu_rate_to_linearpitch(u_int32_t rate)
545 rate = (rate << 8) / 375;
546 return (rate >> 1) + (rate & 1);
1251 "sample rate tracker lock status change\n");