Lines Matching refs:dmasound
581 dmasound.hard.speed = 44100 ; in tumbler_set_frame_rate()
592 dmasound.hard.speed = 44100 ; in daca_set_frame_rate()
614 && dmasound.soft.speed <= awacs_freqs[i] + tolerance) in awacs_set_frame_rate()
617 dmasound.hard.speed = awacs_freqs[i]; in awacs_set_frame_rate()
623 return dmasound.hard.speed; in awacs_set_frame_rate()
644 dmasound.hard.speed = in set_frame_rate()
648 dmasound.hard.speed = in set_frame_rate()
652 dmasound.hard.speed = in set_frame_rate()
656 dmasound.hard.speed = in set_frame_rate()
660 return dmasound.hard.speed ; in set_frame_rate()
680 switch (dmasound.soft.format) { in PMacInit()
684 dmasound.hard.format = AFMT_S16_LE; in PMacInit()
686 dmasound.hard.format = AFMT_S16_BE; in PMacInit()
689 dmasound.hard.format = AFMT_S16_BE; in PMacInit()
692 dmasound.hard.stereo = 1; in PMacInit()
693 dmasound.hard.size = 16; in PMacInit()
698 set_frame_rate(dmasound.soft.speed, catchRadius) ; in PMacInit()
700 tolerance = (catchRadius * dmasound.hard.speed) / 100; in PMacInit()
701 if (dmasound.soft.speed >= dmasound.hard.speed - tolerance) in PMacInit()
702 dmasound.trans_write = &transAwacsNormal; in PMacInit()
704 dmasound.trans_write = &transAwacsExpand; in PMacInit()
705 dmasound.trans_read = &transAwacsNormalRead; in PMacInit()
707 if (hw_can_byteswap && (dmasound.hard.format == AFMT_S16_LE)) in PMacInit()
712 expand_bal = -dmasound.soft.speed; in PMacInit()
722 return dmasound.soft.format; in PMacSetFormat()
749 dmasound.soft.format = format; in PMacSetFormat()
750 dmasound.soft.size = size; in PMacSetFormat()
751 if (dmasound.minDev == SND_DEV_DSP) { in PMacSetFormat()
752 dmasound.dsp.format = format; in PMacSetFormat()
753 dmasound.dsp.size = size; in PMacSetFormat()
824 if (hw_can_byteswap && (dmasound.hard.format == AFMT_S16_LE)) in __PMacPlay()
1138 if (hw_can_byteswap && (dmasound.hard.format == AFMT_S16_LE)) in awacs_nosound()
1266 if (hw_can_byteswap && (dmasound.hard.format == AFMT_S16_LE)) in load_awacs()
2385 if (i & dmasound.mach.hardware_afmts) in PMacStateInfo()
2387 get_afmt_string(i & dmasound.mach.hardware_afmts)); in PMacStateInfo()
2880 dmasound.mach = machPMac; in dmasound_awacs_init()
3026 dmasound.mach.hardware_afmts = (AFMT_S16_BE | AFMT_S16_LE) ; in dmasound_awacs_init()
3028 dmasound.mach.hardware_afmts = AFMT_S16_BE ; in dmasound_awacs_init()
3036 dmasound.mach.capabilities = DSP_CAP_DUPLEX ; in dmasound_awacs_init()
3037 dmasound.mach.record = PMacRecord ; in dmasound_awacs_init()
3040 dmasound.mach.default_hard = def_hard ; in dmasound_awacs_init()
3041 dmasound.mach.default_soft = def_soft ; in dmasound_awacs_init()