add two new members to structs audio_encoding and audio_prinfo.
authorjakemsr <jakemsr@openbsd.org>
Thu, 15 Jul 2010 03:43:11 +0000 (03:43 +0000)
committerjakemsr <jakemsr@openbsd.org>
Thu, 15 Jul 2010 03:43:11 +0000 (03:43 +0000)
commit1657931791df6f774accbb48ba9d42eac31d77d9
treef169ff6fea6eb5c7ec3fbe461df83e1dd60f66e3
parentfb01b32792b0afdf61f481976c24483b3566eee1
add two new members to structs audio_encoding and audio_prinfo.
for both structs, the new members are 'bps' and 'msb', which
describe the number of bytes per sample and data alignment in the
sample, respectively.  drivers must properly set these fields in
the 'query_encoding', 'set_parameters' and 'get_default_params'
hardware interface methods.

discussed with ratchov, deraadt
43 files changed:
lib/libsndio/sun.c
share/man/man4/audio.4
share/man/man9/audio.9
sys/arch/hppa/gsc/harmony.c
sys/arch/macppc/dev/awacs.c
sys/arch/macppc/dev/i2s.c
sys/arch/sgi/dev/mavb.c
sys/arch/sparc/dev/amd7930.c
sys/arch/sparc/dev/cs4231.c
sys/arch/sparc64/dev/ce4231.c
sys/arch/zaurus/dev/zaurus_audio.c
sys/dev/audio.c
sys/dev/audio_if.h
sys/dev/bluetooth/btsco.c
sys/dev/ic/ac97.c
sys/dev/isa/ad1848.c
sys/dev/isa/ess.c
sys/dev/isa/gus.c
sys/dev/isa/sbdsp.c
sys/dev/pci/auacer.c
sys/dev/pci/auglx.c
sys/dev/pci/auich.c
sys/dev/pci/auixp.c
sys/dev/pci/autri.c
sys/dev/pci/auvia.c
sys/dev/pci/azalia.c
sys/dev/pci/cmpci.c
sys/dev/pci/cs4280.c
sys/dev/pci/cs4281.c
sys/dev/pci/eap.c
sys/dev/pci/emuxki.c
sys/dev/pci/envy.c
sys/dev/pci/esa.c
sys/dev/pci/eso.c
sys/dev/pci/fms.c
sys/dev/pci/maestro.c
sys/dev/pci/neo.c
sys/dev/pci/sv.c
sys/dev/pci/yds.c
sys/dev/sbus/cs4231.c
sys/dev/usb/uaudio.c
sys/sys/audioio.h
usr.bin/audioctl/audioctl.c