Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys
Module Name: src
Committed By: kent
Date: Mon Jan 10 22:01:38 UTC 2005
Modified Files:
src/sys/arch/amiga/dev: aucc.c repulse.c toccata.c
src/sys/arch/arm/iomd: files.iomd vidcaudio.c
src/sys/arch/dreamcast/dev/g2: aica.c
src/sys/arch/hp700/gsc: harmony.c
src/sys/arch/hpcmips/vr: vraiu.c
src/sys/arch/macppc/dev: awacs.c snapper.c
src/sys/arch/sgimips/hpc: haltwo.c
src/sys/arch/x68k/dev: vs.c vsvar.h
src/sys/conf: files
src/sys/dev: auconv.c auconv.h audio.c audio_if.h audiovar.h
aurateconv.c mulaw.c mulaw.h
src/sys/dev/ebus: cs4231_ebus.c
src/sys/dev/ic: ac97.c ac97var.h ad1848.c ad1848var.h am7930.c
am7930var.h interwave.c interwavevar.h msm6258.c msm6258var.h
tms320av110.c
src/sys/dev/isa: ad1848_isa.c ad1848var.h aria.c ess.c gus.c sb.c
sbdsp.c sbdspvar.h
src/sys/dev/pci: auacer.c auich.c autri.c auvia.c cmpci.c cs4280.c
cs4281.c cs428x.c cs428x.h eap.c emuxki.c esa.c esm.c esmvar.h
eso.c fms.c neo.c sv.c yds.c
src/sys/dev/pcmcia: esl.c
src/sys/dev/sbus: cs4231_sbus.c
src/sys/dev/tc: bba.c files.tc
src/sys/dev/usb: uaudio.c
Log Message:
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
To generate a diff of this commit:
cvs rdiff -r1.35 -r1.36 src/sys/arch/amiga/dev/aucc.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/amiga/dev/repulse.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/amiga/dev/toccata.c
cvs rdiff -r1.13 -r1.14 src/sys/arch/arm/iomd/files.iomd
cvs rdiff -r1.40 -r1.41 src/sys/arch/arm/iomd/vidcaudio.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/dreamcast/dev/g2/aica.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/hp700/gsc/harmony.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/hpcmips/vr/vraiu.c
cvs rdiff -r1.21 -r1.22 src/sys/arch/macppc/dev/awacs.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/macppc/dev/snapper.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/sgimips/hpc/haltwo.c
cvs rdiff -r1.26 -r1.27 src/sys/arch/x68k/dev/vs.c
cvs rdiff -r1.4 -r1.5 src/sys/arch/x68k/dev/vsvar.h
cvs rdiff -r1.705 -r1.706 src/sys/conf/files
cvs rdiff -r1.11 -r1.12 src/sys/dev/auconv.c src/sys/dev/auconv.h
cvs rdiff -r1.184 -r1.185 src/sys/dev/audio.c
cvs rdiff -r1.54 -r1.55 src/sys/dev/audio_if.h
cvs rdiff -r1.31 -r1.32 src/sys/dev/audiovar.h
cvs rdiff -r1.9 -r1.10 src/sys/dev/aurateconv.c
cvs rdiff -r1.22 -r1.23 src/sys/dev/mulaw.c
cvs rdiff -r1.17 -r1.18 src/sys/dev/mulaw.h
cvs rdiff -r1.14 -r1.15 src/sys/dev/ebus/cs4231_ebus.c
cvs rdiff -r1.65 -r1.66 src/sys/dev/ic/ac97.c
cvs rdiff -r1.13 -r1.14 src/sys/dev/ic/ac97var.h
cvs rdiff -r1.18 -r1.19 src/sys/dev/ic/ad1848.c
cvs rdiff -r1.10 -r1.11 src/sys/dev/ic/ad1848var.h
cvs rdiff -r1.45 -r1.46 src/sys/dev/ic/am7930.c
cvs rdiff -r1.8 -r1.9 src/sys/dev/ic/am7930var.h
cvs rdiff -r1.23 -r1.24 src/sys/dev/ic/interwave.c
cvs rdiff -r1.12 -r1.13 src/sys/dev/ic/interwavevar.h
cvs rdiff -r1.11 -r1.12 src/sys/dev/ic/msm6258.c
cvs rdiff -r1.5 -r1.6 src/sys/dev/ic/msm6258var.h
cvs rdiff -r1.15 -r1.16 src/sys/dev/ic/tms320av110.c
cvs rdiff -r1.26 -r1.27 src/sys/dev/isa/ad1848_isa.c
cvs rdiff -r1.37 -r1.38 src/sys/dev/isa/ad1848var.h
cvs rdiff -r1.21 -r1.22 src/sys/dev/isa/aria.c
cvs rdiff -r1.64 -r1.65 src/sys/dev/isa/ess.c
cvs rdiff -r1.85 -r1.86 src/sys/dev/isa/gus.c
cvs rdiff -r1.78 -r1.79 src/sys/dev/isa/sb.c
cvs rdiff -r1.113 -r1.114 src/sys/dev/isa/sbdsp.c
cvs rdiff -r1.54 -r1.55 src/sys/dev/isa/sbdspvar.h
cvs rdiff -r1.5 -r1.6 src/sys/dev/pci/auacer.c
cvs rdiff -r1.83 -r1.84 src/sys/dev/pci/auich.c
cvs rdiff -r1.22 -r1.23 src/sys/dev/pci/autri.c
cvs rdiff -r1.49 -r1.50 src/sys/dev/pci/auvia.c
cvs rdiff -r1.26 -r1.27 src/sys/dev/pci/cmpci.c src/sys/dev/pci/esa.c
cvs rdiff -r1.32 -r1.33 src/sys/dev/pci/cs4280.c
cvs rdiff -r1.21 -r1.22 src/sys/dev/pci/cs4281.c src/sys/dev/pci/fms.c
cvs rdiff -r1.7 -r1.8 src/sys/dev/pci/cs428x.c
cvs rdiff -r1.6 -r1.7 src/sys/dev/pci/cs428x.h
cvs rdiff -r1.74 -r1.75 src/sys/dev/pci/eap.c
cvs rdiff -r1.38 -r1.39 src/sys/dev/pci/emuxki.c
cvs rdiff -r1.28 -r1.29 src/sys/dev/pci/esm.c
cvs rdiff -r1.10 -r1.11 src/sys/dev/pci/esmvar.h
cvs rdiff -r1.37 -r1.38 src/sys/dev/pci/eso.c
cvs rdiff -r1.24 -r1.25 src/sys/dev/pci/neo.c
cvs rdiff -r1.25 -r1.26 src/sys/dev/pci/sv.c src/sys/dev/pci/yds.c
cvs rdiff -r1.13 -r1.14 src/sys/dev/pcmcia/esl.c
cvs rdiff -r1.30 -r1.31 src/sys/dev/sbus/cs4231_sbus.c
cvs rdiff -r1.22 -r1.23 src/sys/dev/tc/bba.c
cvs rdiff -r1.27 -r1.28 src/sys/dev/tc/files.tc
cvs rdiff -r1.92 -r1.93 src/sys/dev/usb/uaudio.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index