• Home
  • Raw
  • Download

Lines Matching +full:ch0 +full:- +full:2

10  *		     - added versioning
11 * - put in and populated the hardware_afmts field.
12 * [0.2] - put in SNDCTL_DSP_GETCAPS value.
13 * [0.3] - put in constraint on state buffer usage.
14 * [0.4] - put in default hard/soft settings
64 * Helper pointers for 16(14)-bit sound
91 * Heartbeat interferes with sound since the 7 kHz low-pass filter and the
166 return -EFAULT; in ami_ct_s8()
171 used = count*2; in ami_ct_s8()
175 return -EFAULT; in ami_ct_s8()
176 count--; in ami_ct_s8()
202 return -EFAULT; \
204 count--; \
210 used = count*2; \
214 return -EFAULT; \
217 return -EFAULT; \
219 count--; \
252 used = count*2; \
255 return -EFAULT; \
258 *low++ = (data>>2) & 0x3f; \
259 count--; \
262 u_char *lefth = &frame[*frameUsed>>2]; \
266 count = min_t(size_t, userCount, frameLeft)>>2 & ~1; \
270 return -EFAULT; \
273 *leftl++ = (data>>2) & 0x3f; \
275 return -EFAULT; \
278 *rightl++ = (data>>2) & 0x3f; \
279 count--; \
313 custom.aud[2].audvol = custom.aud[3].audvol = 0; in StopDMA()
364 period = amiga_colorclock/dmasound.soft.speed-1; in AmiInit()
405 default: /* :-) */ in AmiSetFormat()
434 custom.aud[2].audvol = 1; in AmiSetVolume()
437 custom.aud[2].audvol = 0; in AmiSetVolume()
457 #define AMI_PLAY_PLAYING 2
463 u_char *start, *ch0, *ch1, *ch2, *ch3; in AmiPlayNextFrame() local
474 ch0 = start; in AmiPlayNextFrame()
478 ch0 = start; in AmiPlayNextFrame()
486 custom.aud[0].audlc = (u_short *)ZTWO_PADDR(ch0); in AmiPlayNextFrame()
493 custom.aud[0].audlc = (u_short *)ZTWO_PADDR(ch0); in AmiPlayNextFrame()
498 /* We can play pseudo 14-bit only with the maximum volume */ in AmiPlayNextFrame()
499 ch3 = ch0+write_sq_block_size_quarter; in AmiPlayNextFrame()
501 custom.aud[2].audvol = 1; /* we are being affected by the beeps */ in AmiPlayNextFrame()
503 custom.aud[2].audlc = (u_short *)ZTWO_PADDR(ch2); in AmiPlayNextFrame()
504 custom.aud[2].audlen = size; in AmiPlayNextFrame()
509 custom.aud[2].audvol = 0; in AmiPlayNextFrame()
533 minframes = 2; in AmiPlay()
572 write_sq.count--; in AmiInterrupt()
578 minframes = 2; in AmiInterrupt()
614 custom.aud[2].audvol = 1; /* For pseudo 14bit */ in AmiMixerInit()
641 return -EINVAL; in AmiMixerIoctl()
706 .hardware_afmts = (AFMT_S8 | AFMT_S16_BE), /* h'ware-supported formats *only* here */
731 .name = "amiga-audio",
738 MODULE_ALIAS("platform:amiga-audio");