Lines Matching refs:dmasound
107 AmiSetTreble(dmasound.treble); in disable_heartbeat()
165 if (!dmasound.soft.stereo) { in ami_ct_s8()
199 if (!dmasound.soft.stereo) { \
251 if (!dmasound.soft.stereo) { \
377 if (dmasound.soft.speed) in AmiInit()
378 period = amiga_colorclock/dmasound.soft.speed-1; in AmiInit()
381 dmasound.hard = dmasound.soft; in AmiInit()
382 dmasound.trans_write = &transAmiga; in AmiInit()
390 dmasound.hard.speed = amiga_colorclock/(period+1); in AmiInit()
406 return dmasound.soft.format; in AmiSetFormat()
424 dmasound.soft.format = format; in AmiSetFormat()
425 dmasound.soft.size = size; in AmiSetFormat()
426 if (dmasound.minDev == SND_DEV_DSP) { in AmiSetFormat()
427 dmasound.dsp.format = format; in AmiSetFormat()
428 dmasound.dsp.size = dmasound.soft.size; in AmiSetFormat()
442 dmasound.volume_left = VOLUME_VOXWARE_TO_AMI(volume & 0xff); in AmiSetVolume()
443 custom.aud[0].audvol = dmasound.volume_left; in AmiSetVolume()
444 dmasound.volume_right = VOLUME_VOXWARE_TO_AMI((volume & 0xff00) >> 8); in AmiSetVolume()
445 custom.aud[1].audvol = dmasound.volume_right; in AmiSetVolume()
446 if (dmasound.hard.size == 16) { in AmiSetVolume()
447 if (dmasound.volume_left == 64 && dmasound.volume_right == 64) { in AmiSetVolume()
455 return VOLUME_AMI_TO_VOXWARE(dmasound.volume_left) | in AmiSetVolume()
456 (VOLUME_AMI_TO_VOXWARE(dmasound.volume_right) << 8); in AmiSetVolume()
461 dmasound.treble = treble; in AmiSetTreble()
487 if (dmasound.hard.stereo) { in AmiPlayNextFrame()
497 custom.aud[0].audvol = dmasound.volume_left; in AmiPlayNextFrame()
498 custom.aud[1].audvol = dmasound.volume_right; in AmiPlayNextFrame()
499 if (dmasound.hard.size == 8) { in AmiPlayNextFrame()
511 if (dmasound.volume_left == 64 && dmasound.volume_right == 64) { in AmiPlayNextFrame()
622 dmasound.volume_left = 64; in AmiMixerInit()
623 dmasound.volume_right = 64; in AmiMixerInit()
624 custom.aud[0].audvol = dmasound.volume_left; in AmiMixerInit()
626 custom.aud[1].audvol = dmasound.volume_right; in AmiMixerInit()
628 dmasound.treble = 50; in AmiMixerInit()
643 VOLUME_AMI_TO_VOXWARE(dmasound.volume_left) | in AmiMixerIoctl()
644 VOLUME_AMI_TO_VOXWARE(dmasound.volume_right) << 8); in AmiMixerIoctl()
649 return IOCTL_OUT(arg, dmasound.treble); in AmiMixerIoctl()
670 dmasound.volume_left); in AmiStateInfo()
672 dmasound.volume_right); in AmiStateInfo()
736 dmasound.mach = machAmiga; in dmasound_paula_init()
737 dmasound.mach.default_hard = def_hard ; in dmasound_paula_init()
738 dmasound.mach.default_soft = def_soft ; in dmasound_paula_init()