NetBSD/sys/arch/amiga/dev
kent 23b5d91433 merge kent-audio1 branch, which introduces audio filter pipeline to the MI
audio framework


Summary of changes:

* struct audio_params
  - remove sw_code, factor, factor_denom, hw_sample_rate,
hw_encoding ,hw_precision, and hw_channels.  Conversion information
is conveyed by stream_filter_list_t.
  - change the type of sample_rate: u_long -> u_int
  - add `validbits,' which represents the valid data size in
precision bits.  It is required in order to distinguish 24/32bit
from 24/24bit or 32/32bit.

* audio_hw_if
 - add two parameters to set_params()
	stream_filter_list_t *pfil, stream_filter_list *rfil
   A HW driver should set filter recipes for requested formats
 - constify audio_params parameters of trigger_output() and
trigger_input().  They represent audio formats for the hardware.
 - make open() and close() optional
 - add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters
 to round_blocksize()

* sw_code is replaced with stream_filter_t.
  stream_filer_t converts audio data in an input buffer and writes
into another output buffer unlike sw_code, which converts data in
single buffer.
  converters in dev/auconv.c, dev/mulaw.c, dev/aurateconv.c,
dev/tc/bba.c, dev/ic/msm6258.c, and arch/arm/iomd/vidcaudio.c are
reimplemented as stream_filter_t

* MI audio
 - audiosetinfo() builds filter pipelines from stream_filter_list_t
filled by audio_hw_if::set_params()
 - audiosetinfo() returns with EINVAL if mmapped and set_params()
requests filters
 - audio_write(), audio_pint(), and audio_rint() invoke a filter
pipeline.
 - ioctl() for FIONREAD, AUDIO_WSEEK, AUDIO_GETIOFFS,
AUDIO_GETOOFFS, and audio_prinfo::{seek,samples} for
AUDIO_GETINFO handle values for a buffer nearest to userland.

* add `struct device *' parameter to ac97_attach()

* all of audio HW drivers follow audio_hw_if and ac97 changes
2005-01-10 22:01:36 +00:00
..
Makefile pass source file name to gpsa, so that gspa could (in theory) embed the 2003-07-16 20:07:12 +00:00
a2kbbc.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
a34kbbc.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
afsc.c Remove license clauses 3 and 4 in my licenses. 2004-03-28 18:59:39 +00:00
ahsc.c Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
ahscreg.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
amidisplaycc.c for drivers that support only one instance, use a global variable to ensure 2004-12-13 02:14:13 +00:00
aster.c Use aprint_normal() for cfprint routines. 2003-01-01 00:25:01 +00:00
atzsc.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
atzscreg.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
aucc.c merge kent-audio1 branch, which introduces audio filter pipeline to the MI 2005-01-10 22:01:36 +00:00
auccvar.h
bzivsc.c Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
bzivscvar.h
bzsc.c Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
bzscvar.h
bztzsc.c Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
bztzscvar.h
cbiiisc.c Remove license clauses 3 and 4 in my licenses. 2004-03-28 18:59:39 +00:00
cbiisc.c Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
cbiiscvar.h
cbsc.c Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
cbscvar.h
clock.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
clockioctl.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
com_supio.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
device.h
dmavar.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
drbbc.c Use PAGE_SIZE rather than NBPG. 2003-04-01 21:26:26 +00:00
drsc.c Remove license clauses 3 and 4 in my licenses. 2004-03-28 18:59:39 +00:00
drsupio.c Use PAGE_SIZE rather than NBPG. 2003-04-01 21:26:26 +00:00
empsc.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
event.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
event_var.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
fd.c move buffer queue related stuffs from buf.h to their own header, bufq.h. 2004-10-28 07:07:35 +00:00
flsc.c Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
flscvar.h
gayle_pcmcia.c use config_found() instead of config_found_sm() if no submatch 2004-09-13 15:14:12 +00:00
genpar.c rcsid 2003-07-14 23:40:33 +00:00
grf.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
grf_cc.c Use aprint_normal() for cfprint routines. 2003-01-01 00:25:01 +00:00
grf_ccreg.h
grf_cl.c Use aprint_normal() for cfprint routines. 2003-01-01 00:25:01 +00:00
grf_clreg.h
grf_cv.c Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
grf_cv3d.c Spell address with two d's. Inspired by similar changes in OpenBSD, 2003-11-10 08:51:51 +00:00
grf_cv3dreg.h Use __asm instead of asm, to keep lint happy. 2003-05-31 03:05:45 +00:00
grf_cvreg.h Use __asm instead of asm, to keep lint happy. 2003-05-31 03:05:45 +00:00
grf_et.c fix fatal typo 2003-04-18 09:23:17 +00:00
grf_etreg.h
grf_rh.c Use __asm instead of asm, to keep lint happy. 2003-05-31 03:05:45 +00:00
grf_rhreg.h parameter with two es. From Peter Postma. 2004-02-24 15:22:01 +00:00
grf_rt.c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
grf_rtreg.h Spell address with two d's. Inspired by similar changes in OpenBSD, 2003-11-10 08:51:51 +00:00
grf_ul.c Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
grf_ulreg.h
grf_ultms.c
grf_ultms.g Update comments. 2003-07-16 19:58:59 +00:00
grfabs.c
grfabs_cc.c becuase -> because. From Peter Postma. 2004-02-24 15:05:53 +00:00
grfabs_ccglb.c
grfabs_ccreg.h
grfabs_reg.h
grfioctl.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
grfvar.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
gtsc.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
gtscreg.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
gvpbus.c Use aprint_normal() for cfprint routines. 2003-01-01 00:25:01 +00:00
gvpbusvar.h
gvpio.c interrupt with two rs. 2003-01-06 13:04:54 +00:00
hyper.c Use aprint_normal() for cfprint routines. 2003-01-01 00:25:01 +00:00
idesc.c READ_CAPACITY -> READ_CAPACITY_10 2004-12-07 23:14:03 +00:00
if_bah_zbus.c Use CFATTACH_DECL(). 2002-10-02 04:55:47 +00:00
if_ed.c When adding/deleting multicast addresses, only whack the address 2004-10-30 18:08:34 +00:00
if_edreg.h
if_es.c When adding/deleting multicast addresses, only whack the address 2004-10-30 18:08:34 +00:00
if_esreg.h success, not sucess. Noted by mjl. 2003-01-28 22:35:02 +00:00
if_le.c Use CFATTACH_DECL(). 2002-10-02 04:55:47 +00:00
if_levar.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
if_ne_zbus.c Use CFATTACH_DECL(). 2002-10-02 04:55:47 +00:00
if_qn.c Use CFATTACH_DECL(). 2002-10-02 04:55:47 +00:00
if_qnreg.h
ioblix_zbus.c interrupt with two rs. 2003-01-06 13:04:54 +00:00
isic_supio.c Somebody forgot this change when changing the structure name. 2004-11-21 20:43:22 +00:00
ite.c becuase -> because. From Peter Postma. 2004-02-24 15:05:53 +00:00
ite_cc.c becuase -> because. From Peter Postma. 2004-02-24 15:05:53 +00:00
ite_cl.c The gcc3 compiler optimized away writing character data to the Cirrus chip, 2004-10-14 04:14:26 +00:00
ite_cv.c
ite_cv3d.c
ite_et.c Hardware pointers must be volatile. 2004-12-30 10:07:51 +00:00
ite_rh.c
ite_rt.c
ite_ul.c
iteioctl.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
itevar.h
ivsc.c Remove license clauses 3 and 4 in my licenses. 2004-03-28 18:59:39 +00:00
kbd.c cleanup & uniform descriptor owner handling: 2003-09-21 19:16:48 +00:00
kbdmap.c
kbdmap.h
kbdreg.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
kf_iso8859_1_8x8.c
kf_iso8859_1_8x11.c
kf_iso8859_2_8x8.c
kf_iso8859_2_8x11.c
lpt_supio.c Use CFATTACH_DECL(). 2002-10-02 04:55:47 +00:00
melody.c Use CFATTACH_DECL(). 2002-10-02 04:55:47 +00:00
mfc.c Constify the speedtab arrays 2004-04-25 06:23:40 +00:00
mgnsc.c Remove license clauses 3 and 4 in my licenses. 2004-03-28 18:59:39 +00:00
mlhsc.c Remove license clauses 3 and 4 in my licenses. 2004-03-28 18:59:39 +00:00
ms.c add wscons support to amiga mouse 2003-09-22 18:17:30 +00:00
msc.c Constify the speedtab arrays 2004-04-25 06:23:40 +00:00
msc6502.h
mscreg.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
otgsc.c Remove license clauses 3 and 4 in my licenses. 2004-03-28 18:59:39 +00:00
par.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
parioctl.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
repulse.c merge kent-audio1 branch, which introduces audio filter pipeline to the MI 2005-01-10 22:01:36 +00:00
repulse_firmware.h
rtc.h
rtmondefs.c
rtmons
sbic.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
sbicreg.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
sbicvar.h Use "struct scsipi_command" in internal command structures so that 2004-12-07 22:23:45 +00:00
sci.c Remove license clauses 3 and 4 in my licenses. 2004-03-28 18:59:39 +00:00
scireg.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
scivar.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
ser.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
serreg.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
siop.c Remove license clauses 3 and 4 in my licenses. 2004-03-28 18:59:39 +00:00
siop2.c Remove license clauses 3 and 4 in my licenses. 2004-03-28 18:59:39 +00:00
siop2_script.out
siop2_script.ss
siop_script.out
siop_script.ss
siopreg.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
siopvar.h Use "struct scsipi_command" in internal command structures so that 2004-12-07 22:23:45 +00:00
supio.h
toccata.c merge kent-audio1 branch, which introduces audio filter pipeline to the MI 2005-01-10 22:01:36 +00:00
view.c merge kqueue branch into -current 2002-10-23 09:10:23 +00:00
viewioctl.h
viewvar.h
vuid_event.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
wdc_amiga.c Call wdc_init_shadow_regs() after data structures are filled in. 2004-08-23 19:26:25 +00:00
wesc.c Remove license clauses 3 and 4 in my licenses. 2004-03-28 18:59:39 +00:00
wskbdmap_amiga.c Keymap updates. 2004-01-04 19:20:43 +00:00
wskbdmap_amiga.h
wstsc.c Remove license clauses 3 and 4 in my licenses. 2004-03-28 18:59:39 +00:00
zbus.c Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
zbusvar.h Use PAGE_SIZE rather than NBPG. 2003-04-09 01:54:42 +00:00
zssc.c Remove license clauses 3 and 4 in my licenses. 2004-03-28 18:59:39 +00:00