The NetBSD Project

CVS log for src/sys/arch/amiga/dev/aucc.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / amiga / dev

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.43.30.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:31 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.43.30.2: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.30.2: +1 -1 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.43.30.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:26 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.43.30.1: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.30.1: +7 -4 lines
Merge changes from current as of 20200406

Revision 1.46.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 21 15:31:50 2020 UTC (4 years, 8 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Diff to: previous 1.46.2.1: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.2.1: +7 -4 lines
Pull up following revision(s) (requested by isaki in ticket #792):

	sys/arch/amiga/dev/aucc.c: revision 1.48
	sys/dev/pci/auixp.c: revision 1.49
	sys/dev/pci/gcscaudio.c: revision 1.19
	sys/dev/pci/auich.c: revision 1.159
	sys/dev/sbus/dbri.c: revision 1.42
	sys/dev/pci/auvia.c: revision 1.85
	sys/dev/pci/auacer.c: revision 1.39

Drop 512 bytes limit on auvia_round_blocksize().

This fixes attach on 6 channels device.
PR kern/55017.

round_blocksize must return a multiple of the framesize.
aucc(4) supports 3 channels mode.

round_blocksize must return a multiple of the framesize
even if passed blocksize is greater than the upper limit.

round_blocksize must return a multiple of the framesize.

It's not divisible when blk=GCSCAUDI_PRD_SIZE_MAX and channels=4.
round_blocksize must return a multiple of the framesize
even if 6 channels mode.

I believe that keeping "good alignment" is just a wish, not constraint.

Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:18:16 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +7 -4 lines
Sync with head.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Feb 29 06:03:55 2020 UTC (4 years, 9 months ago) by isaki
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, HEAD
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +7 -4 lines
round_blocksize must return a multiple of the framesize.
aucc(4) supports 3 channels mode.

Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 7 18:04:48 2019 UTC (5 years, 3 months ago) by snj
Branches: netbsd-9
CVS tags: netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
Pull up following revision(s) (requested by rin in ticket #189):
	sys/arch/amiga/dev/aucc.c: revision 1.47
The device does not support recording.
Fix diagnostic assertion failure in aucc_set_format().
OK isaki

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Sep 7 11:57:08 2019 UTC (5 years, 3 months ago) by rin
Branches: MAIN
CVS tags: phil-wifi-20191119, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
The device does not support recording.
Fix diagnostic assertion failure in aucc_set_format().

OK isaki

XXX
pullup to netbsd-9

Revision 1.43.30.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:48 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +80 -543 lines
Sync with HEAD

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Jun 8 08:02:36 2019 UTC (5 years, 6 months ago) by isaki
Branches: MAIN
CVS tags: phil-wifi-20190609, netbsd-9-base
Branch point for: netbsd-9
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -3 lines
Clean get_props().
- Make get_props() return AUDIO_PROP_{PLAYBACK,CAPTURE} properly.
  This eliminates need for audio.c to take care of such (old)
  drivers which don't return both of PLAYBACK and CAPTURE.
- All get_props() doesn't need to return AUDIO_PROP_MMAP.
  It is handled in the audio layer now.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed May 8 13:40:14 2019 UTC (5 years, 7 months ago) by isaki
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +64 -516 lines
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly.  Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism.  The encoding/channels/frequency
  conversions are completely handled in the upper layer.  So the hard-
  ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
  - Obsoletes query_encoding and add query_format instead.
  - Obsoletes set_params and add set_format instead.
  - Remove drain, setfd, mappage.
  - The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c         -> dev/audio/audio.c (rewritten)
- dev/audiovar.h      -> dev/audio/audiovar.h
- dev/audio_dai.h     -> dev/audio/audio_dai.h
- dev/audio_if.h      -> dev/audio/audio_if.h
- dev/audiobell.c     -> dev/audio/audiobell.c
- dev/audiobellvar.h  -> dev/audio/audiobellvar.h
- dev/mulaw.[ch]      -> dev/audio/mulaw.[ch] + dev/audio/alaw.c

Revision 1.44.2.3: download - view: text, markup, annotated - select for diffs
Sat May 4 07:20:07 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.44.2.2: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.2.2: +3 -3 lines
Move dev/audio_if.h -> dev/audio/audio_if.h

Revision 1.44.2.2: download - view: text, markup, annotated - select for diffs
Sat May 4 04:51:20 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.44.2.1: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.2.1: +2 -11 lines
Remove simple flags that indicate whether the device is opened.
These are handled in the upper layer now.

Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Sun Apr 21 09:33:54 2019 UTC (5 years, 7 months ago) by isaki
Branches: isaki-audio2
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +63 -506 lines
Adapt to audio2.
- Remove its own mulaw converter.
- XXX I'm not sure about 3,4ch mode vs 8/14bit mode.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Mar 16 12:09:56 2019 UTC (5 years, 9 months ago) by isaki
Branches: MAIN
CVS tags: isaki-audio2-base
Branch point for: isaki-audio2
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +18 -30 lines
Use C99 style struct initializer to audio_hw_if.

Revision 1.41.8.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:43 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.41.8.1: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.8.1: +8 -6 lines
Rebase to HEAD as of a few days ago.

Revision 1.40.102.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:28 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.40.102.2: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.102.2: +8 -6 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:44:55 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +8 -6 lines
sync with head

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Mar 22 01:52:44 2014 UTC (10 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +8 -6 lines
kill sprintf
fix unused variables

Revision 1.41.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:00:57 2012 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +9 -11 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.40.102.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:18:47 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.40.102.1: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.102.1: +9 -11 lines
sync with head

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Oct 27 17:17:27 2012 UTC (12 years, 1 month ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +9 -11 lines
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.40.102.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:01 2012 UTC (12 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +22 -8 lines
sync with head

Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Nov 23 23:07:28 2011 UTC (13 years ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp
Branch point for: tls-maxphys
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +22 -8 lines
Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From
the original ad-audiomp branch notes:

  Add MP locking to the audio drivers.

  Making the audio drivers MP safe is necessary before efforts
  can be made to make the VM system MP safe.

  The are two locks per device instance, an ISR lock and
  a character device lock. The ISR lock replaces calls to
  splaudio()/splx(), and will be held across calls to device
  methods which were called at splaudio() before (e.g.
  trigger_output). The character device lock is held across
  calls to nearly all of the methods, excluding some only
  used for initialization, e.g. get_locks.

Welcome to 5.99.57.

Revision 1.40.104.2: download - view: text, markup, annotated - select for diffs
Tue Nov 22 22:47:02 2011 UTC (13 years ago) by jmcneill
Branches: jmcneill-audiomp3
Diff to: previous 1.40.104.1: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.104.1: +2 -3 lines
get rid of unused 'powerstate' callback in audio_hw_if

Revision 1.40.104.1: download - view: text, markup, annotated - select for diffs
Sun Nov 20 12:41:59 2011 UTC (13 years ago) by mrg
Branches: jmcneill-audiomp3
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +23 -8 lines
port these to audiomp:  support get_locks, and take the intr_lock
in the interrupt handler.

Revision 1.39.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:37:30 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +3 -3 lines
sync with head

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:48:26 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +3 -3 lines
sync with head.

Revision 1.39.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:37:12 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +3 -3 lines
Sync with head.

Revision 1.39.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 02:31:58 2006 UTC (18 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +3 -3 lines
sync with head - hopefully this will work

Revision 1.39.8.1: download - view: text, markup, annotated - select for diffs
Mon Mar 13 09:06:52 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +3 -3 lines
sync with head.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Mar 8 23:46:22 2006 UTC (18 years, 9 months ago) by lukem
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, yamt-nfs-mp-base, yamt-nfs-mp, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, thorpej-atomic-base, thorpej-atomic, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, pre-softints, ppcoea-renovation-base, ppcoea-renovation, post-newlock2-merge, peter-altq-base, peter-altq, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-premerge-20101231, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, jmcneill-pm-base, jmcneill-pm, jmcneill-base, jmcneill-audiomp3-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, cube-autoconf-base, cube-autoconf, cherry-xenmp-base, cherry-xenmp, chap-midi-nbase, chap-midi-base, chap-midi, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4, MI-softints
Branch point for: yamt-pagecache, jmcneill-audiomp3
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:16:28 2005 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, elad-kernelauth
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -2 lines
merge ktrace-lwp.

Revision 1.34.2.3: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:51:36 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.34.2.2: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.2.2: +4 -4 lines
Sync with HEAD. Here we go again...

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun May 22 15:54:45 2005 UTC (19 years, 6 months ago) by christos
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -4 lines
No 0x in front of %p...

Revision 1.34.2.2: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:29:12 2005 UTC (19 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.34.2.1: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.2.1: +314 -248 lines
Sync with HEAD.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Jan 15 15:19:51 2005 UTC (19 years, 11 months ago) by kent
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +304 -240 lines
ansify and KNF

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Jan 10 22:01:36 2005 UTC (19 years, 11 months ago) by kent
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +13 -11 lines
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

Revision 1.35.2.2: download - view: text, markup, annotated - select for diffs
Sun Jan 9 08:42:44 2005 UTC (19 years, 11 months ago) by kent
Branches: kent-audio1
Diff to: previous 1.35.2.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.2.1: +5 -4 lines
audio_hw_if change
 * make open() and close() optional
 * add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters
 to round_blocksize()

Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 3 16:42:02 2005 UTC (19 years, 11 months ago) by kent
Branches: kent-audio1
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +10 -9 lines
* adopt the filter pipeline framework.
* repulse.c follows ac97_attach() change

Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:50:22 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
Sync with HEAD.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Oct 29 12:57:15 2004 UTC (20 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: kent-audio1-beforemerge, kent-audio1-base
Branch point for: kent-audio1
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
constify audio_hw_if, midi_hw_if, and radio_hw_if.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat May 3 18:10:43 2003 UTC (21 years, 7 months ago) by wiz
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Branch point for: ktrace-lwp
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +12 -12 lines
DMA, not dma nor Dma.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Apr 6 18:20:10 2003 UTC (21 years, 8 months ago) by wiz
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +28 -28 lines
Respect the law: Use A-law and mu-law as spellings as far as easily possible.
Inspired by Igor Sobrado in PR 19680.

Revision 1.28.4.3: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:34:46 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.28.4.2: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.4.2: +4 -7 lines
Catch up to -current.

Revision 1.27.2.3: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:31:21 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.27.2.2: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.2.2: +4 -7 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Oct 2 04:55:48 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -7 lines
Use CFATTACH_DECL().

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Sep 27 20:29:48 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
Declare all cfattach structures const.

Revision 1.28.4.2: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:06:32 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.4.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.4.1: +1282 -0 lines
Catch up to -current.

Revision 1.27.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:06:50 2002 UTC (22 years, 10 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.27.2.1: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.2.1: +122 -198 lines
Sync w/ -current.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Jan 28 09:56:51 2002 UTC (22 years, 10 months ago) by aymeric
Branches: MAIN
CVS tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -1 lines
add __KERNEL_RCSID as suggested by Luke Mewburn

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Jan 26 13:40:53 2002 UTC (22 years, 10 months ago) by aymeric
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +119 -198 lines
- ANSIfy
- remove some trailing spaces/tabs
- minor style nits

Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:37:16 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -1 lines
Sync kqueue branch with -current.

Revision 1.27.4.1: download - view: text, markup, annotated - select for diffs
Thu Oct 11 00:01:42 2001 UTC (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +4 -1 lines
Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.

Revision 1.28.4.1
Wed Oct 3 00:04:47 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.28: +0 -1358 lines
file aucc.c was added on branch nathanw_sa on 2002-02-28 04:06:32 +0000

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Oct 3 00:04:47 2001 UTC (23 years, 2 months ago) by augustss
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3
Branch point for: nathanw_sa
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -1 lines
Add a new optional method, dev_ioctl, to the audio hardware driver interface.
It is called when an unrecognized ioctl() is performed on a device,
thus allowing ioctl()s that frob the hardware driver (like loading
microcode).

Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 18:13:11 2001 UTC (23 years, 5 months ago) by nathanw
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +3 -1 lines
Catch up to -current.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue May 8 06:09:30 2001 UTC (23 years, 7 months ago) by is
Branches: MAIN
CVS tags: thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp, kqueue
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -1 lines
defopt LEV6_DEFER.

Revision 1.24.8.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 19:58:27 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +10 -7 lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

I updated the amiga SCSI drivers, but completely untested yet (may not even
compile)

Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 16:00:44 2000 UTC (24 years, 3 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +2 -2 lines
Pull up revision 1.26 (requested by is):
  Use the correct DMA pointer for the second channel on 14-bit
  byte-swapped conversion.  Fixes NULL pointer reference crash
  when playing 16-bit little-endian audio.

Revision 1.25.4.1: download - view: text, markup, annotated - select for diffs
Sun Sep 3 21:57:49 2000 UTC (24 years, 3 months ago) by mhitch
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +2 -2 lines
Pullup revision 1.26 (requested by mhitch, approved by jhawk)

  Log Message:
  Use the correct DMA pointer for the second channel on 14-bit byte-swapped
  conversion.  Fixes NULL pointer reference crash when playing 16 bit little
  endian audio.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Sep 3 02:04:53 2000 UTC (24 years, 3 months ago) by mhitch
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
Use the correct DMA pointer for the second channel on 14-bit byte-swapped
conversion.  Fixes NULL pointer reference crash when playing 16 bit little
endian audio.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Mar 16 16:37:20 2000 UTC (24 years, 9 months ago) by kleink
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +9 -6 lines
Kill more broken cf_unit bogons.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Mar 4 20:45:01 1999 UTC (25 years, 9 months ago) by is
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2
Branch point for: thorpej_scsipi, netbsd-1-4
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +593 -158 lines
Modifications to aucc.c for more input formats and 14bit stereo output.
By Bernardo Innocenti, submitted as PR 6787.
Some KNF-ifying done by myself, so you might want to blame me instead
if the original patch worked for you.
	-is

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Aug 17 21:16:09 1998 UTC (26 years, 4 months ago) by augustss
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
* Redo the way the way the MIDI driver attaches to audio devices.
* Improve the midisyn layer a little.
* Add a driver for the Yamaha OPL[23] FM synths.
  The opl driver is not finished yet; it sounds pretty awful.

For some strange reason I cannot get any FM sound from my SB64 cards,
but a regular SB16 works fine.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Jan 12 10:39:10 1998 UTC (26 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -5 lines
Adjust for changes to config.

Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 24 21:35:36 1997 UTC (27 years ago) by perry
Branches: netbsd-1-3
CVS tags: netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +12 -3 lines
pullup from trunk (requested by ig)

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Nov 24 21:00:50 1997 UTC (27 years ago) by is
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +12 -3 lines
Workaround for the "xanim volume setting problem":
We play mono samples on all 4 channels.
However, we get the volume settings for mono samples as a symmetic two-channel
setting... the other two channels used to stay at max volume...
I believe that something else is wrong here, but dont want to change MI
code (which in turn influences a couple of MD driver) thus late in the release
cycle.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Oct 19 07:41:33 1997 UTC (27 years, 2 months ago) by augustss
Branches: MAIN
CVS tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -74 lines
Make the audio API (almost) SunOS compatible.
The changes is to allow some limited mixer manipulation through
the audio device (instead of the mixer device).
This rendered 4 methods in audio_hw_if unused so garbage collect these.

Revision 1.15.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 14 08:26:07 1997 UTC (27 years, 2 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.15.2.2: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.2: +3 -3 lines
Update marc-pcmcia branch from trunk.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Oct 11 12:43:51 1997 UTC (27 years, 2 months ago) by mycroft
Branches: MAIN
CVS tags: marc-pcmcia-base
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
AudioC[A-Z] -> AudioC[a-z]
AudioElinear -> AudioEslinear

Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 27 21:45:14 1997 UTC (27 years, 3 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.2.1: +10 -17 lines
Update marc-pcmcia branch from trunk.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Aug 24 22:31:23 1997 UTC (27 years, 3 months ago) by augustss
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +10 -17 lines
- Change audio_hw_if a little: set_param now sets the play and record modes
  at the same time instead by using two different calls.  This enables
  it to check more easily if the combined mode is all right.
- Improve the error checking in audio.c.
- Add a new audio property, AUDIO_PROP_INDEPENDENT, show if the
  play and record settings are independent.
- Fix some buglets in audio.c.

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 23 07:07:26 1997 UTC (27 years, 3 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +17 -16 lines
Update marc-pcmcia branch from trunk.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Aug 19 23:49:40 1997 UTC (27 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -4 lines
Change the MI audio driver so it attaches to the MD driver in the
normal way.  This requires adding a line to the config files to
get audio to work again.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Jul 31 22:33:08 1997 UTC (27 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +17 -14 lines
Audio changes:
	- Change the way attach and open works to allow multiple audio
	  devices.
	- Split the mulaw.c file into two to avoid dragging in mulaw
	  convertsion when they are not needed.  Add 16 bit alaw/mulaw tables.
	- Change the way audio properties are gotten.
	- Recognize more versions os SoundBlaster.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Jul 28 20:56:05 1997 UTC (27 years, 4 months ago) by augustss
Branches: MAIN
CVS tags: marc-pcmcia-bp
Branch point for: marc-pcmcia
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
Audio: Remove the machine dependant code I put in audio.c by mistake.
This adds another method to audio_hw_if.  Also remove a field from
audio_hw_if that was not read-only.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Jul 28 10:04:35 1997 UTC (27 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -1 lines
Update forgotten audio driver for changes in audio_hw_if.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Jul 27 23:51:48 1997 UTC (27 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -11 lines
audio: Simplify handling of AUDIO_SETFD and committing of encoding mode.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Jul 15 07:51:04 1997 UTC (27 years, 5 months ago) by augustss
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -27 lines
Garbage collect some unused routines.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Jul 15 07:46:04 1997 UTC (27 years, 5 months ago) by augustss
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +8 -8 lines
In the name of backwards compatibility AUDIO_ENCODING_LINEAR has been
renamed AUDIO_ENCODING_SLINEAR and AUDIO_ENCODING_LINEAR reverts to the
NetBSD 1.2 sematics.  A kernel with COMPAT_12 defined will accept
AUDIO_ENCODING_LINEAR and treat it as before, without COMPAT_12 it
will be rejected.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jul 10 22:18:42 1997 UTC (27 years, 5 months ago) by is
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +22 -6 lines
- Fix gain control.
- play mono stuff on all channels.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Jul 9 22:37:08 1997 UTC (27 years, 5 months ago) by is
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +12 -4 lines
Make multichannel output work. The cc parameter to hw_start_output is
a byte counter, it seems. Somebody should really write man 9 audio_if.
While here, make debug output invisible #ifndef AUCCDEBUG.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Jul 4 21:00:15 1997 UTC (27 years, 5 months ago) by is
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +104 -49 lines
Multichannel output still doesn't work, but while working on it, I repaired
the double buffering code, and setting a couple of other parameters works now.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Jun 23 23:46:25 1997 UTC (27 years, 5 months ago) by is
Branches: MAIN
CVS tags: bouyer-scsipi
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +24 -17 lines
Make aucc work in the presence of LEV6_DEFER.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Jun 21 22:46:43 1997 UTC (27 years, 5 months ago) by kleink
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Change last commit to use `#error'.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Jun 21 21:52:37 1997 UTC (27 years, 5 months ago) by is
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -1 lines
Make this fail to compile with LEV6_DEFER.
XXX This isn't nice, but stopping the  system clock isn't nice, either.
We will repair this soon.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Jun 20 21:45:11 1997 UTC (27 years, 6 months ago) by is
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -28 lines
Add RCS ids, and clean up some unused in newstyle audio hardware drivers
functions.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jun 15 23:05:43 1997 UTC (27 years, 6 months ago) by is
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +9 -18 lines
Actually commit the sample rate to the hardware.
While we're here, add missing parts of (software encoded) ULINEAR encoding.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jun 15 21:11:33 1997 UTC (27 years, 6 months ago) by is
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +35 -18 lines
A bit more of KNF.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Jun 14 22:24:18 1997 UTC (27 years, 6 months ago) by is
Branches: MAIN
Amiga custom chip audio hardware driver, by Stefan Thesing
(thesing@cs.uni-sb.de), heavily hacked upon by me to
- make it work with -current audio system
- make it shut off Amiga audio DMA only at appropriate places.
XXX A couple of bugs still remain, which well be handled later.
XXX Among them: only mono output; doesn't refuse to handle input, but chokes;
will not play last millichunk (is this 20 ms?) of data.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>