Lines Matching refs:dmasound

66 	char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8;  in q40_ct_law()
123 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctx_law()
127 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_law()
163 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_s8()
200 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_u8()
233 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctc_law()
237 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_law()
276 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_s8()
315 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_u8()
430 speed=(dmasound.hard.speed==10000 ? 0 : 1); in Q40PlayNextFrame()
434 if (dmasound.soft.stereo) in Q40PlayNextFrame()
519 if ((100 * abs(dmasound.soft.speed - freq[i]) / freq[i]) <= catchRadius) in Q40Init()
522 dmasound.hard = dmasound.soft; in Q40Init()
524 dmasound.hard.size=8; in Q40Init()
527 dmasound.soft.speed = freq[idx]; in Q40Init()
528 dmasound.trans_write = &transQ40Normal; in Q40Init()
530 dmasound.trans_write = &transQ40Expanding; in Q40Init()
534 if (dmasound.hard.speed > 20200) { in Q40Init()
536 dmasound.hard.speed = 20000; in Q40Init()
537 dmasound.trans_write = &transQ40Compressing; in Q40Init()
538 } else if (dmasound.hard.speed > 10000) { in Q40Init()
539 dmasound.hard.speed = 20000; in Q40Init()
541 dmasound.hard.speed = 10000; in Q40Init()
543 expand_bal = -dmasound.soft.speed; in Q40Init()
553 return(dmasound.soft.format); in Q40SetFormat()
563 dmasound.soft.format = format; in Q40SetFormat()
564 dmasound.soft.size = 8; in Q40SetFormat()
565 if (dmasound.minDev == SND_DEV_DSP) { in Q40SetFormat()
566 dmasound.dsp.format = format; in Q40SetFormat()
567 dmasound.dsp.size = 8; in Q40SetFormat()
625 dmasound.mach = machQ40; in dmasound_q40_init()
626 dmasound.mach.default_hard = def_hard ; in dmasound_q40_init()
627 dmasound.mach.default_soft = def_soft ; in dmasound_q40_init()