Lines Matching refs:dmasound
104 AmiSetTreble(dmasound.treble); in disable_heartbeat()
162 if (!dmasound.soft.stereo) { in ami_ct_s8()
196 if (!dmasound.soft.stereo) { \
249 if (!dmasound.soft.stereo) { \
364 if (dmasound.soft.speed) in AmiInit()
365 period = amiga_colorclock/dmasound.soft.speed-1; in AmiInit()
368 dmasound.hard = dmasound.soft; in AmiInit()
369 dmasound.trans_write = &transAmiga; in AmiInit()
377 dmasound.hard.speed = amiga_colorclock/(period+1); in AmiInit()
393 return dmasound.soft.format; in AmiSetFormat()
411 dmasound.soft.format = format; in AmiSetFormat()
412 dmasound.soft.size = size; in AmiSetFormat()
413 if (dmasound.minDev == SND_DEV_DSP) { in AmiSetFormat()
414 dmasound.dsp.format = format; in AmiSetFormat()
415 dmasound.dsp.size = dmasound.soft.size; in AmiSetFormat()
429 dmasound.volume_left = VOLUME_VOXWARE_TO_AMI(volume & 0xff); in AmiSetVolume()
430 custom.aud[0].audvol = dmasound.volume_left; in AmiSetVolume()
431 dmasound.volume_right = VOLUME_VOXWARE_TO_AMI((volume & 0xff00) >> 8); in AmiSetVolume()
432 custom.aud[1].audvol = dmasound.volume_right; in AmiSetVolume()
433 if (dmasound.hard.size == 16) { in AmiSetVolume()
434 if (dmasound.volume_left == 64 && dmasound.volume_right == 64) { in AmiSetVolume()
442 return VOLUME_AMI_TO_VOXWARE(dmasound.volume_left) | in AmiSetVolume()
443 (VOLUME_AMI_TO_VOXWARE(dmasound.volume_right) << 8); in AmiSetVolume()
448 dmasound.treble = treble; in AmiSetTreble()
474 if (dmasound.hard.stereo) { in AmiPlayNextFrame()
484 custom.aud[0].audvol = dmasound.volume_left; in AmiPlayNextFrame()
485 custom.aud[1].audvol = dmasound.volume_right; in AmiPlayNextFrame()
486 if (dmasound.hard.size == 8) { in AmiPlayNextFrame()
498 if (dmasound.volume_left == 64 && dmasound.volume_right == 64) { in AmiPlayNextFrame()
610 dmasound.volume_left = 64; in AmiMixerInit()
611 dmasound.volume_right = 64; in AmiMixerInit()
612 custom.aud[0].audvol = dmasound.volume_left; in AmiMixerInit()
614 custom.aud[1].audvol = dmasound.volume_right; in AmiMixerInit()
616 dmasound.treble = 50; in AmiMixerInit()
631 VOLUME_AMI_TO_VOXWARE(dmasound.volume_left) | in AmiMixerIoctl()
632 VOLUME_AMI_TO_VOXWARE(dmasound.volume_right) << 8); in AmiMixerIoctl()
637 return IOCTL_OUT(arg, dmasound.treble); in AmiMixerIoctl()
658 dmasound.volume_left); in AmiStateInfo()
660 dmasound.volume_right); in AmiStateInfo()
717 dmasound.mach = machAmiga; in amiga_audio_probe()
718 dmasound.mach.default_hard = def_hard ; in amiga_audio_probe()
719 dmasound.mach.default_soft = def_soft ; in amiga_audio_probe()