The NetBSD Project

CVS log for src/share/man/man4/audio.4

[BACK] Up to [cvs.NetBSD.org] / src / share / man / man4

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.106: download - view: text, markup, annotated - select for diffs
Mon May 27 02:39:15 2024 UTC (6 months, 2 weeks ago) by nia
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +10 -2 lines
audio.4: Document how the "delta" affects setting mixer levels.

Explicitly say that "delta" is optional and may be zero. While this
hasn't previously been specified anywhere (to my knowledge), the best
de-facto specification we have (sb and mixerctl source code) points
towards the historical practice being there.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Tue Feb 27 02:14:23 2024 UTC (9 months, 1 week ago) by gutteridge
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +19 -22 lines
audio.4: fix grammar and style in places

No change to technical content.

Revision 1.90.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 19 13:52:36 2020 UTC (3 years, 11 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE
Diff to: previous 1.90.2.1: preferred, colored; branchpoint 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90.2.1: +1 -3 lines
Pull up following revision(s) (requested by isaki in ticket #1157):

	share/man/man4/audio.4: revision 1.104

Remove an old description.
This behavior was modified in sys/dev/audio/audio.c rev 1.65 (Mar. 2020).

Revision 1.104: download - view: text, markup, annotated - select for diffs
Wed Dec 9 05:48:56 2020 UTC (4 years ago) by isaki
Branches: MAIN
CVS tags: 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +1 -3 lines
Remove an old description.
This behavior was modified in sys/dev/audio/audio.c rev 1.65 (Mar. 2020).

Revision 1.90.2.1: download - view: text, markup, annotated - select for diffs
Thu Apr 30 15:40:50 2020 UTC (4 years, 7 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-1-RELEASE
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +13 -6 lines
Pull up following revision(s) (requested by isaki in ticket #875):

	sys/dev/audio/audio.c: revision 1.59
	share/man/man4/audio.4: revision 1.102
	share/man/man4/audio.4: revision 1.103
	sys/dev/audio/audio.c: revision 1.43

Limit the number of channels that userland apps can set (by AUDIO_SETINFO)
to the number of channels supported by the hardware or less, if the hardware
supports multi channels.
- On monaural or stereo hardware, userland apps can always set 1ch or 2ch.
  The kernel (audio layer) can convert mono-stereo each other.
- On 3ch (2.1ch) hardware, for example, userland apps can set 1, 2, or 3ch,
  but not 4ch or more.

This allows userland apps to know actual number of channels supported by
the hardware in the same way as before.

PR kern/54973.


Reinitialize the sticky parameters whenever the hardware format is changed.

When the number of the hardware channels becomes less than the number of
channels that sticky parameters remember, subsequent open("/dev/sound") will
fail without this treatment.  This is for rev 1.43.


Add description about channel limitation introduced in audio.c 1.43.
PR kern/54973.

Remove trailing whitespace.

Revision 1.86.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:25 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.86.2.1: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.2.1: +63 -29 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.103: download - view: text, markup, annotated - select for diffs
Sat Mar 28 05:47:41 2020 UTC (4 years, 8 months ago) by wiz
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +2 -2 lines
Remove trailing whitespace.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Sat Mar 28 04:55:08 2020 UTC (4 years, 8 months ago) by isaki
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +13 -6 lines
Add description about channel limitation introduced in audio.c 1.43.
PR kern/54973.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Sat Mar 28 04:21:58 2020 UTC (4 years, 8 months ago) by isaki
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +11 -9 lines
Revert 1.96, 1.97 and 1.100.  (no response from nia@)
These changes are not correct nor notable unresolvable problem.
If you find any problems, please send a report before changing manpage.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Tue Mar 17 10:50:59 2020 UTC (4 years, 8 months ago) by nia
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +2 -2 lines
audio.4: 1-12 channels are only universally supported for playback.

When a mono recording device is set to use 1 channel, the kernel will
correct the number of channels back down to 1. This information can be
obtained with AUDIO_GETINFO...

Revision 1.99: download - view: text, markup, annotated - select for diffs
Mon Mar 16 19:20:36 2020 UTC (4 years, 8 months ago) by nia
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +4 -6 lines
audio.4: Mention the blk_ms sysctl

Revision 1.98: download - view: text, markup, annotated - select for diffs
Mon Mar 16 13:02:05 2020 UTC (4 years, 8 months ago) by wiz
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +6 -6 lines
Sort sections.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Mon Mar 16 09:20:01 2020 UTC (4 years, 8 months ago) by nia
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +6 -4 lines
audio.4: O_NONBLOCK isn't the actual problem

Revision 1.96: download - view: text, markup, annotated - select for diffs
Mon Mar 16 08:50:06 2020 UTC (4 years, 8 months ago) by nia
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +6 -10 lines
audio.4: Remove reference to using O_NONBLOCK

It doesn't work properly, but this turns out to not be a problem in most
code (code where it is generally uses threads)...

Don't provide misleading information about using it, or programmers
might start wondering why their code doesn't work.

Noted by Yorick Hardy on current-users

Revision 1.95: download - view: text, markup, annotated - select for diffs
Sun Dec 8 10:57:17 2019 UTC (5 years ago) by wiz
Branches: MAIN
CVS tags: is-mlppp-base, is-mlppp
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +2 -2 lines
Sort SEE ALSO.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Sun Dec 8 02:57:52 2019 UTC (5 years ago) by nia
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +2 -2 lines
Replace mention of azalia with hdaudio

Revision 1.93: download - view: text, markup, annotated - select for diffs
Wed Nov 13 07:52:25 2019 UTC (5 years ago) by isaki
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +9 -1 lines
Add some audio drivers in SEE ALSO.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Tue Nov 12 12:50:04 2019 UTC (5 years ago) by wiz
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +1 -2 lines
Remove self-reference

Revision 1.91: download - view: text, markup, annotated - select for diffs
Tue Nov 12 12:49:06 2019 UTC (5 years ago) by wiz
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +40 -18 lines
Update list of audio drivers in SEE ALSO.

Based on audioplay(1) man page, where I'll remove them shortly.

Revision 1.79.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 2 16:39:20 2019 UTC (5 years, 3 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE
Diff to: previous 1.79.2.3: preferred, colored; branchpoint 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79.2.3: +2 -2 lines
Pull up following revision(s) (requested by sevan in ticket #1351):

	share/man/man4/man4.amiga/grf.4: revision 1.7
	share/man/man4/si.4: revision 1.11
	share/man/man8/man8.sparc/boot.8: revision 1.32
	share/man/man5/nsswitch.conf.5: revision 1.29
	share/man/man5/mixerctl.conf.5: revision 1.7
	share/man/man8/man8.vax/boot.8: revision 1.14
	share/man/man4/man4.vax/dn.4: revision 1.12
	share/man/man8/man8.vax/drtest.8: revision 1.16
	share/man/man8/sysinst.8: revision 1.6
	share/man/man4/ip.4: revision 1.37
	share/man/man5/boot.cfg.5: revision 1.28
	share/man/man1/cd.1: revision 1.10
	share/man/man4/usb.4: revision 1.106
	share/man/man4/man4.vax/ix.4: revision 1.17
	share/man/man7/security.7: revision 1.15
	share/man/man7/hier.7: revision 1.123
	share/man/man8/afterboot.8: revision 1.58
	share/man/man1/man1.x68k/bellctrl.1: revision 1.14
	share/man/man4/se.4: revision 1.6
	share/man/man4/utoppy.4: revision 1.7
	share/man/man4/midi.4: revision 1.32
	share/man/man4/cfb.4: revision 1.5
	share/man/man4/man4.sparc/magma.4: revision 1.12
	share/man/man4/audio.4: revision 1.80
	share/man/man4/isic.4: revision 1.18
	share/man/man1/cd.1: revision 1.7
	share/man/man4/envsys.4: revision 1.51
	share/man/man1/cd.1: revision 1.8
	share/man/man1/cd.1: revision 1.9
	share/man/man3/fast_divide32.3: revision 1.9
	share/man/man4/pci.4: revision 1.97
	share/man/man5/ranlib.5: revision 1.7
	share/man/man3/__arraycount.3: revision 1.7
	share/man/man4/isa.4: revision 1.46
	share/man/man8/man8.atari/ahdilabel.8: revision 1.14
	share/man/man4/chipsfb.4: revision 1.6
	share/man/man8/man8.macppc/boot.8: revision 1.8
	share/man/man5/passwd.5: revision 1.33
	share/man/man8/man8.macppc/ofwboot.8: revision 1.14
	share/man/man8/compat_linux.8: revision 1.38
	share/man/man4/iop.4: revision 1.22
	share/man/man4/ddb.4: revision 1.167
	share/man/man4/termios.4: revision 1.37
	share/man/man8/compat_freebsd.8: revision 1.18
	share/man/man5/ar.5: revision 1.9
	share/man/man7/release.7: revision 1.37
	share/man/man5/core.5: revision 1.31
	share/man/man4/ahd.4: revision 1.6
	share/man/man4/man4.vax/ad.4: revision 1.12
	share/man/man4/pppoe.4: revision 1.39
	share/man/man5/locale.alias.5: revision 1.3
	share/man/man8/man8.amiga/installboot.8: revision 1.23
	share/man/man4/etherip.4: revision 1.8
	share/man/man3/queue.3: revision 1.57
	share/man/man5/genassym.cf.5: revision 1.13
	share/man/man4/mpls.4: revision 1.10
	share/man/man1/wait.1: revision 1.5
	share/man/man5/capfile.5: revision 1.4
	share/man/man4/man4.alpha/ttwopci.4: revision 1.6
	share/man/man4/man4.atari/rtc.4: revision 1.8
	share/man/man4/gpiosim.4: revision 1.6
	share/man/man3/bitstring.3: revision 1.18
	share/man/man4/isdntel.4: revision 1.8
	share/man/man4/ai.4: revision 1.9
	share/man/man8/man8.hppa/boot.8: revision 1.2
	share/man/man4/uyurex.4: revision 1.6
	share/man/man8/man8.alpha/mkbootimage.8: revision 1.9
	share/man/man4/bpf.4: revision 1.56
	share/man/man4/man4.amiga/mfcs.4: revision 1.8
	share/man/man4/cmpci.4: revision 1.9
	share/man/man8/man8.vax/format.8: revision 1.14
	share/man/man8/compat_svr4.8: revision 1.27
	share/man/man4/crypto.4: revision 1.26
	share/man/man4/userconf.4: revision 1.13
	share/man/man4/agp.4: revision 1.17
	share/man/man9/man9.i386/bioscall.9: revision 1.10
	share/man/man4/uftdi.4: revision 1.20
	share/man/man4/radio.4: revision 1.13
	share/man/man4/mfb.4: revision 1.5
	share/man/man7/ascii.7: revision 1.8
	share/man/man4/man4.vax/dl.4: revision 1.13
	share/man/man4/ral.4: revision 1.12
	share/man/man4/unix.4: revision 1.26
	share/man/man4/edc.4: revision 1.12
	share/man/man4/pim.4: revision 1.5
	share/man/man8/compat_ultrix.8: revision 1.21
	share/man/man4/dge.4: revision 1.11
	share/man/man8/diskless.8: revision 1.32
	share/man/man5/passwd.conf.5: revision 1.11
	share/man/man8/man8.acorn26/boot26.8: revision 1.8
	share/man/man4/man4.vax/hy.4: revision 1.12
	share/man/man4/plip.4: revision 1.4
	share/man/man4/sc.4: revision 1.8
	share/man/man4/ec.4: revision 1.14
	share/man/man4/man4.sgimips/giopci.4: revision 1.9
	share/man/man7/sysctl.7: revision 1.114
	share/man/man3/bits.3: revision 1.18
	share/man/man4/we.4: revision 1.19
	share/man/man8/compat_sunos.8: revision 1.21
	share/man/man4/ip6.4: revision 1.31
	share/man/man4/acpilid.4: revision 1.8
	share/man/man4/man4.dreamcast/aica.4: revision 1.6
	share/man/man4/mfi.4: revision 1.12
	share/man/man4/ugen.4: revision 1.32
	share/man/man4/jme.4: revision 1.7
	share/man/man4/man4.sparc64/intro.4: revision 1.5
	share/man/man4/zyd.4: revision 1.5
	share/man/man4/gre.4: revision 1.45
	share/man/man3/bitmap.3: revision 1.10
	share/man/man4/man4.vax/cons.4: revision 1.12
	share/man/man3/gcq.3: revision 1.4
	share/man/man4/man4.hppa/pdc.4: revision 1.3
	share/man/man4/multicast.4: revision 1.8
	share/man/man4/man4.sparc/intro.4: revision 1.27
	share/man/man4/ath.4: revision 1.32
	share/man/man4/ym.4: revision 1.19
	share/man/man3/iso646.3: revision 1.6
	share/man/man4/btsco.4: revision 1.13
	share/man/man4/man4.i386/ndis.4: revision 1.6
	share/man/man4/pad.4: revision 1.6
	share/man/man4/strip.4: revision 1.16
	share/man/man8/man8.x86/boot.8: revision 1.12
	share/man/man4/amr.4: revision 1.15
	share/man/man4/ieee80211.4: revision 1.5
	share/man/man4/options.4: revision 1.467
	share/man/man5/link.5: revision 1.24
	share/man/man8/man8.cobalt/boot.8: revision 1.10
	share/man/man5/stab.5: revision 1.15
	share/man/man3/tree.3: revision 1.12
	share/man/man4/route.4: revision 1.31
	share/man/man4/man4.sun3/leds.4: revision 1.13
	share/man/man4/bluetooth.4: revision 1.20
	share/man/man4/man4.i386/pcibios.4: revision 1.19
	share/man/man5/veriexec.5: revision 1.8
	share/man/man7/operator.7: revision 1.12
	share/man/man4/man4.hp300/dcl.4: revision 1.13
	share/man/man4/man4.i386/intro.4: revision 1.31
	share/man/man5/ld.so.conf.5: revision 1.21
	share/man/man8/man8.alpha/boot.8: revision 1.16
	share/man/man4/bio.4: revision 1.13
	share/man/man4/man4.sun2/leds.4: revision 1.10
	share/man/man8/man8.x86/mbr.8: revision 1.4
	share/man/man8/man8.mvme68k/boot.8: revision 1.9
	share/man/man4/man4.alpha/ttwoga.4: revision 1.6
	share/man/man4/ahc.4: revision 1.34

Direct reader to shell documentation generally, rather than csh(1)
specifically.

Mention variables OLDPWD and PWD.

Move the text that explains that cd(1) is a shell built-in to the very
beginning of the description where it can be seen prominently.

Improve formatting.

 -

Remove workaround for ancient HTML generation code.
Use EXIT STATUS and .Ex.

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

Revision 1.90: download - view: text, markup, annotated - select for diffs
Thu May 9 09:35:29 2019 UTC (5 years, 7 months ago) by wiz
Branches: MAIN
CVS tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Branch point for: netbsd-9
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +2 -2 lines
Bump date.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Thu May 9 09:22:13 2019 UTC (5 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +53 -40 lines
Fix some typos, improve wording and formatting.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Wed May 8 14:25:39 2019 UTC (5 years, 7 months ago) by isaki
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +159 -193 lines
Update manpages respond to isaki-audio2 branch.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Feb 16 06:50:14 2019 UTC (5 years, 9 months ago) by isaki
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +6 -5 lines
Two minor fixes.
- Add missing AUDIO_PERROR (since 1996!)
- Sort AUDIO_GETFD.

Revision 1.84.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:36 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.84.2.1: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.2.1: +2 -2 lines
Sync with HEAD

Revision 1.79.2.3: download - view: text, markup, annotated - select for diffs
Thu Jun 7 18:24:16 2018 UTC (6 years, 6 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2
Diff to: previous 1.79.2.2: preferred, colored; branchpoint 1.79: preferred, colored
Changes since revision 1.79.2.2: +2 -2 lines
Pull up following revision(s) (requested by nat in ticket #848):

	share/man/man9/Makefile: revision 1.422
	distrib/sets/lists/comp/mi: revision 1.2198
	share/man/man7/Makefile: revision 1.33
	share/man/man9/audio.9: revision 1.47
	share/man/man7/audio.7: file removal
	sys/dev/audio.c: revision 1.456
	sys/dev/audio.c: revision 1.457
	distrib/sets/lists/man/mi: revision 1.1591
	share/man/man9/intro.9: revision 1.20
	share/man/man7/audio.7: revision 1.3
	share/man/man9/audio_system.9: revision 1.1
	share/man/man7/intro.7: revision 1.26
	share/man/man4/audio.4: revision 1.86

Fix a typo with sc_out/inports when setting the hardware recording gain on the
mix ring.  Found by mrg@
XXX pullup-8

Using audioctl without the -p switch defaults to the mix ring.  This allows
setting the hardware gain etc.

Update the audio spec in audio.7 to reflect these changes.
Addresses PR kern/52781.

Move the audio specification to section 9 under audio_system.
Ok wiz@

Revision 1.86: download - view: text, markup, annotated - select for diffs
Mon May 28 00:18:05 2018 UTC (6 years, 6 months ago) by nat
Branches: MAIN
CVS tags: phil-wifi-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
Branch point for: phil-wifi
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +2 -2 lines
Move the audio specification to section 9 under audio_system.

Ok wiz@

Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Mon May 21 04:35:56 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +4 -2 lines
Sync with HEAD

Revision 1.79.2.2: download - view: text, markup, annotated - select for diffs
Tue May 15 13:42:50 2018 UTC (6 years, 6 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.79.2.1: preferred, colored; branchpoint 1.79: preferred, colored
Changes since revision 1.79.2.1: +4 -2 lines
Pull up following revision(s) (requested by nat in ticket #825):

	share/man/man7/Makefile: revision 1.32
	share/man/man9/audio.9: revision 1.46
	sys/dev/audio.c: revision 1.453
	sys/dev/audio.c: revision 1.454
	sys/dev/audio.c: revision 1.455
	share/man/man7/audio.7: revision 1.1
	share/man/man7/audio.7: revision 1.2
	share/man/man7/intro.7: revision 1.24
	share/man/man4/audio.4: revision 1.85
	distrib/sets/lists/man/mi: revision 1.1586

Fix numbering of vchan mixer controls to correspond to the vchan number in
use.

This makes the numbering of vchans consistient for audioctl and mixerctl.
Expose the audio_info structure of vchan zero(0) the mix ring to allow
setting the hardware gain and balance via audioctl(1) using the -p 0
switch.

It is not possible to influence the hardware gain/blance from the
audio_info structure of vchans 1 onwards.  It is now possible to return
the audio mixers audio format from the audio_info structure of vchan 0 to
ease applications configuring for mmapped play back.

This is conformant to the audio specification posted on tech-kern see:

        "NetBSD Audio Specification 2018"

or audio.7 manual page to be added in a follow up commit.
Add the audio mixer specification to section 7 of the manual.
See posting on tech-kern - "NetBSD Audio Specification 2018."
Update the introduction page to section 7 of the manual noting the audio
spec.

Various improvements, more markup, typo fixes.

Fix over cautious compiler error - setmode may not be initialized.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Tue May 15 00:54:01 2018 UTC (6 years, 6 months ago) by nat
Branches: MAIN
CVS tags: pgoyette-compat-0521
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +4 -2 lines
Add the audio mixer specification to section 7 of the manual.
See posting on tech-kern - "NetBSD Audio Specification 2018."

Revision 1.79.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 15 00:08:55 2018 UTC (6 years, 10 months ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-0-RC1
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +23 -6 lines
Pull up following revision(s) (requested by nat in ticket #489):
	share/man/man4/audio.4: 1.81-1.82
	sys/dev/audio.c: 1.376 via patch, 1.407-1.413, 1.415-1.440, 1.441 via patch, 1.443-1.450
	sys/dev/audiovar.h: 1.59 via patch, 1.65-1.68
Improve audio_set_vchan_defaults().
- Correct confused input/output parameters.
- Remove sc->{sc_channels, sc_precision, sc_frequency}.  They are
  the same as sc->sc_vchan_params.{channels, precision, sample_rate}.
The input parameter of audio_set_vchan_defaults() is now only
sc->sc_vchan_params.
Fix PR kern/52437
Move play/rec mix ring buffers into a virtual channel sc_mixring.  NFCI.
Call audio_mix for a third time - thus ensuring there is a block of data
in the mix ring before the audio interrupt occurs.
This addresses the instability seen in the audio atf tests.
Improve logic in audio_initbufs().  No functional changes intended.
Ensure proper use of sc_opens (play back) and sc_recopens (recording).
Fix logic for /dev/sound so audiosetinfo is only called once.
These changes are to ensure that init_output/input is only called once for
the respective function play back or recording.  For multiple recording or
plack back streams init_input/output is only called once fot the first
play/rec stream.
This addresses PR kern/52580, PR kern/52581 and PR kern/52582 analyzed and
reported by isaki@.
Fix return value.  fo_mmap is expected to return errno on error.
Fix return value.  fo_poll is expected to return revents on error.
Fix return value.  fo_kqfilter is expected to return errno on error.
This is the rest of 1.226 (10 years ago).
Add latency sysctl to adjust hw blocksize and hence latency of the mixer.
        usage: sysctl -w hw.hdafg0.lantency="value in milliseconds"
It is possible to set the latency of the mixer unless a static blocksize
is configured by the underlying hardware driver (pad, vcaudio on RPI).
Documentation updates to audio.4 will occur in a follow up commit.
OK christos@.
Ensure that the low/high water marks are at least PREFILL_BLOCKS.
Independent blocksizes for virtual channels where a static blocksize is
not stipulated by the underlying hw driver.
This improves latency in games esp. when the stream format differs from
the harware format.
OK christos@.
No externs in .c files!  Include ioconf.h for struct cfdriver xyz_cd.
round_blocksize is only used for the hardware ring buffer.  All other
buffers (mix ring, streams) are set to be a power of 2.
This allows for consistent latency where a static blocksize is enforced by
the underlying audio device driver.
Ok christos@.
Move calculation of sc_latency into a function.
The latency of the audio device is updated on attach in the audio auto
config and shown on screen.
Ok christos@.
Only allow blocksizes greater or equal to the calculated one.
This should help applications as the blocksize obtained (AUDIO_SET/GETINFO)
will work without stutter.
Ok christos@.
Revert commit rev 1.419 to audio.c.  This should address PR kern/52685.
This also means that drivers that have a static block size will have more
latency at lower sample rates/precision/channels.  Also audio drivers that
do more than supply rounded blocksizes in their round_blocksize functions
will have to be changed.
Use mix ring block size in audio write, startp, and audio drain.
Allow for block sizes less than hw block size.  This allows for the lowest
possible latency for all precision, sample rate and frequencies.
This is a rework of rev 1.419.
Calc latency when altering precision, frequency and channels sysctls.
No need to ratify block size twice as this is done in audio_initbufs.
This is a rework of rev 1.421.
Revert to previous.  It is necessary to use the calculated blocksize if
none supplied.
Tested by martin@.
Blocksizes sould be rounded to a power of 2 as OSS applications need this.
Tested by martin@.
AU_RING_SIZE -> s.bufsize in audio_initbufs.
A sysctl is now available to disable the in kernel mixer.
        sysctl -w hw.hdafg0.usemixer=0
There currently is a problem draining the last block with the mixer
disabled.  I will fix this in a follow up commit.
AFAIK there will be a problem wiht vs(4) on x68k with the mixer disabled
as the filters for mulaw, alaw and unsigned linear have been removed post
audio mixing changes.
Documentation for this sysctl variable will be made to audio.4 in a follow
up commit.
Ok christos@.
Use mixring blocksizes in the right places when mixer is enabled.
This means that x68k's vs audio works once again with sysctl usemixer=1.
Tested with xm6i.
Don't return EIO falsely when dealing with the hardware vc.
Draining of the hardware vc on close is now possible.
Plug memory leak as the mixer state does not grow or shrink when audio
mixing is disabled.  This avoids triggering a panic also.
Improved draining function for when the mixer is and is not enabled.
One block of silence is also played in audio drivers using start_output
when draining the hardware, this helps playback of short (less than
blocksize) samples.
Improved audiostartp for when audio mixing is disabled.
audio_pint improvements for when audio mixing is disabled.
When audio mixing is disabled there is only the hardware vc the mix ring
is not used.
The harware vc is rounded to a power of two then round_blocksize is called.
This improves playback and makes it possibile to use mmapped audio on usb.
For the virtual stream it is required to insert silence.  As these streams
are not harware streams audio_pint_silence is ineffective.
As audio_mix() was the only consumer of audio_pint_silence it has been
removed along with sc_sil_count - which was only used by this function.
Add vc to debug messages in audio_mix.
Also add debug message when available data in the vc is less than the mix
ring blocksize.  NFC.
Use correct combination of mix ring block size and vc playring used low
for signalling the writer or fetching data from the vc play ring filters.
When dealing with the ring buffer sc_mpr.s it is necessary to use the hwvc
or mixring block sizes as they represent the final size of the data to be
played back from the stream vc.
When dealing with sc_pustream when there is play back filters or not one
should use the vc->sc_mpr.blocksize, as this represents the amount of data
before going through play back filters.
This should address PR kern/52685.
Speed up improvements for MIX_FUNC.
As suggested by jmcneill@.
Only init the mix ring if sc_usemixer is enabled as with mixing set to
false the mix ring is not used.
Allow the hwvc block size to be set to any amount with audio mixing
disabled.
Convert double block size of data though the play back filters.  This is
primarily for when audio mixing is disabled to stop inserting silence when
there is data available.
This change should have no effect when mixing is enabled as there is only
1 block of data in the mix ring.
Whitespace.
Only signal a pause change on a transition of a pause change.
This addresses a problem found in audio/sox causing high cpu usage.
Path and analysis by Onno van der Linden.
Rework of play/rec threads to ensure effective use of locks.
Addresses part of PR kern/52889 where the mixing thread would not exit on
audio detach.
Forcefully detach children of audio instances.
This addresses part of PR kern/52889 as children of pad(4) were not
detaching.
Document the hw.driverN.latency sysctl variable.
Bump date for previous. Remove superfluous Pp.
Allow open of audioctl devices whilst audio is open with the mixer
disabled.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Sat Jan 13 19:57:35 2018 UTC (6 years, 10 months ago) by uwe
Branches: MAIN
CVS tags: pgoyette-compat-base, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +13 -13 lines
Use .Ar to mark up the variable parts of sysctl nodes.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Sat Jan 6 16:54:09 2018 UTC (6 years, 11 months ago) by uwe
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +51 -29 lines
Drive-by markup improvements.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Mon Oct 30 15:53:51 2017 UTC (7 years, 1 month ago) by wiz
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +2 -4 lines
Bump date for previous. Remove superfluous Pp.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Fri Oct 27 19:00:07 2017 UTC (7 years, 1 month ago) by nat
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +22 -3 lines
Document the hw.driverN.latency sysctl variable.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon Jul 3 21:30:58 2017 UTC (7 years, 5 months ago) by wiz
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -2 lines
Remove workaround for ancient HTML generation code.

Revision 1.78.2.1: download - view: text, markup, annotated - select for diffs
Thu May 11 02:58:34 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78: +1 -5 lines
Sync with HEAD

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sun May 7 08:19:39 2017 UTC (7 years, 7 months ago) by nat
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: netbsd-8
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +1 -5 lines
Audio mmap now works with all devices as hw->mappage is no longer used.
Audio ring buffers are now uvm objects.

This was made possibile with help from christos@ and much help and mmap
functions written by riastradh@.

Revision 1.72.24.3: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:52:58 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.72.24.2: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.24.2: +4 -17 lines
Sync with HEAD

Revision 1.73.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:15 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +24 -34 lines
Sync with HEAD

Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon Apr 17 22:40:06 2017 UTC (7 years, 7 months ago) by nat
Branches: MAIN
CVS tags: prg-localcount2-base1, prg-localcount2-base, pgoyette-localcount-20170426, bouyer-socketcan-base1
Branch point for: prg-localcount2
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +1 -16 lines
Improved mixing function - more expensive in cycles though.
hw.driverN.saturate is no longer needed and has been removed.

Mixing function thanks to jmcneill@.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Mon Apr 17 20:17:08 2017 UTC (7 years, 7 months ago) by nat
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +4 -4 lines
hw.driverN.saturate bool->integer (default 16).

This means for a greater number than 16 (or user set value) the saturate
function is turned off.  Results in better listening if a large number of
channels are in use.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Mar 21 07:04:29 2017 UTC (7 years, 8 months ago) by nat
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +4 -2 lines
Renane ioctl AUDIO_SETPROC to AUDIO_SETCHAN.

Add an ioctl to return channel number (AUDIO_GETCHAN). This can be used
on audio/sound/audioctl devices.

Return EIO in read/write/ioctl/poll/stat if fp has been closed or is
invalid.

Update audio.4, audioio.h and audioctl(1) to reflect these changes.

Revision 1.72.24.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:03 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.72.24.1: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.24.1: +26 -23 lines
Sync with HEAD

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sun Feb 12 14:44:20 2017 UTC (7 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: pgoyette-localcount-20170320
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +4 -4 lines
Sort sections.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Fri Feb 10 19:31:42 2017 UTC (7 years, 9 months ago) by nat
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +23 -20 lines
Audio now uses fdclone, there is no longer a limitation of one audio
instance per process.  Virtual channels are placed in a queue, so there is
no longer a compile time limit of VAUDIOCHANS.

A new sysctl has been added to control multiple user access.
Mixer labels on virtual channels are now prefixed by vchan.

audiobell.c and audioctl have been updated to reflect these changes.

Use of fdclone was posted to tech-kern@ and improvements made.
Multiuser access control changes and the use of a queue were suggessted by
pgoyette@

Revision 1.72.24.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:07 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +82 -13 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.73: download - view: text, markup, annotated - select for diffs
Mon Dec 12 11:49:27 2016 UTC (7 years, 11 months ago) by nat
Branches: MAIN
CVS tags: pgoyette-localcount-20170107, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +82 -13 lines
Update audio man page with regard to audio changes.
OK wiz@

Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue Sep 6 01:17:48 2011 UTC (13 years, 3 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, 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, 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, localcount-20160914, agc-symver-base, agc-symver
Branch point for: pgoyette-localcount
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +4 -2 lines
Document AUDIO_ENCODING_AC3

Revision 1.70.2.1: download - view: text, markup, annotated - select for diffs
Fri Oct 22 07:11:53 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +2 -2 lines
Sync with HEAD (-D20101022).

Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun Sep 19 10:34:33 2010 UTC (14 years, 2 months ago) by mrg
Branches: MAIN
CVS tags: uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +2 -2 lines
AUDIO_WSEEK uses a u_long, not a int.

Revision 1.68.8.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 05:26:46 2010 UTC (14 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to: previous 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68: +6 -2 lines
sync to netbsd-5

Revision 1.68.4.1: download - view: text, markup, annotated - select for diffs
Fri Oct 16 05:43:37 2009 UTC (15 years, 1 month ago) by snj
Branches: netbsd-5
CVS tags: 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, matt-nb5-pq3-base, matt-nb5-pq3
Diff to: previous 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68: +6 -2 lines
Pull up following revision(s) (requested by sborrill in ticket #1038):
	share/man/man4/audio.4: revision 1.70 via patch
	sys/dev/audio.c: revision 1.248
	sys/dev/audio_if.h: revision 1.66
	sys/dev/pci/hdaudio/hdaudio_afg.c: revision 1.16
	sys/sys/audioio.h: revision 1.33
Add support for playback- or capture-only devices.
Fixes PR 42050

Revision 1.70: download - view: text, markup, annotated - select for diffs
Tue Sep 29 15:58:54 2009 UTC (15 years, 2 months ago) by sborrill
Branches: MAIN
CVS tags: uebayasi-xip-base2, uebayasi-xip-base1, matt-premerge-20091211
Branch point for: uebayasi-xip
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +6 -2 lines
Add support for playback- or capture-only devices by adding
AUDIO_PROP_PLAYBACK and AUDIO_PROP_CAPTURE properties.

From jmcneill@.

Fixes PR#42050

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Jan 3 17:44:20 2009 UTC (15 years, 11 months ago) by christos
Branches: MAIN
CVS tags: jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -4 lines
remove siisata and esl. (KIYOHARA Takashi)

Revision 1.67.10.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:21:34 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +1 -8 lines
Sync with HEAD.

Revision 1.67.12.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:31:05 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +1 -8 lines
sync with head.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Wed Apr 30 13:10:53 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, 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, mjf-devfs2-base, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase
Branch point for: netbsd-5, matt-nb5-mips64
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +1 -8 lines
Convert TNF licenses to new 2 clause variant

Revision 1.65.8.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 07:02:53 2007 UTC (17 years, 3 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +18 -7 lines
Sync w/ NetBSD-4-RC_1

Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Jun 13 00:00:23 2007 UTC (17 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: yamt-pf42, mjf-devfs2
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +5 -6 lines
Whitespace nits.

Revision 1.65.6.1: download - view: text, markup, annotated - select for diffs
Tue Jun 12 10:11:07 2007 UTC (17 years, 6 months ago) by liamjfoy
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-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
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +18 -7 lines
Pull up following revision(s) (requested by jmcneill in ticket #716):
	share/man/man4/audio.4: revision 1.66
	sys/compat/ossaudio/ossaudio.c: revision 1.56
	sys/sys/audioio.h: revision 1.32
	lib/libossaudio/ossaudio.c: revision 1.21
	sys/dev/audio.c: revision 1.222
Add a new ioctl AUDIO_GETBUFINFO. It works like AUDIO_GETINFO, but
doesn't obtain the ports, gain and balance related parameters.
Those generally require reading from the hardware and therefore are
much
more expensive to obtain. Modify OSS emulation to use the new ioctl
where possible.
This reduces CPU usage of mplayer during mp3 playback with my Thinkpad
from 20% to < 1% and from 50% to 20% during Xvid playback.
Review and comments from jmcneill@

Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Jun 11 13:05:47 2007 UTC (17 years, 6 months ago) by joerg
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +18 -7 lines
Add a new ioctl AUDIO_GETBUFINFO. It works like AUDIO_GETINFO, but
doesn't obtain the ports, gain and balance related parameters.
Those generally require reading from the hardware and therefore are much
more expensive to obtain. Modify OSS emulation to use the new ioctl
where possible.

This reduces CPU usage of mplayer during mp3 playback with my Thinkpad
from 20% to < 1% and from 50% to 20% during Xvid playback.

Review and comments from jmcneill@

Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Mar 28 21:43:06 2006 UTC (18 years, 8 months ago) by wiz
Branches: MAIN
CVS tags: netbsd-4-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: wrstuden-fixsa, netbsd-4
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -2 lines
Bump date for previous.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Tue Mar 28 21:12:04 2006 UTC (18 years, 8 months ago) by kleink
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +1 -2 lines
Make <sys/audioio.h> include prerequisite headers; audio(4) was incomplete
with regard to required headers, and besides that it also matches Solaris.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue Jun 28 09:21:03 2005 UTC (19 years, 5 months ago) by kent
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -1 lines
add references to auixp(4) and azalia(4)

Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Jun 28 08:43:22 2005 UTC (19 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +1 -2 lines
Also remove references to sp(4) (same as pss(4)).

Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Jun 28 08:42:32 2005 UTC (19 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -3 lines
Remove references to removed pss(4).

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Oct 10 16:48:04 2004 UTC (20 years, 2 months ago) by augustss
Branches: MAIN
CVS tags: 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
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -1 lines
Add auacer.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue May 11 22:42:47 2004 UTC (20 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +4 -4 lines
Various fixes from Sergey Svishchev svs at ropnet ru in private mail.
Some additional "new sentence, new line" changes while I was there.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Jan 31 21:30:09 2004 UTC (20 years, 10 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
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -2 lines
Bump date for previous.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat Jan 31 00:07:56 2004 UTC (20 years, 10 months ago) by fredb
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +21 -7 lines
Fix a couple of long-standing bugs in the volume control(s) part of the
audio device interface:

1) When attempting to match the appropriate mixer control, we weren't
checking the class label, but only the second level label, so for
devices that had both an "inputs.cd" and a "record.cd", for example,
we could never do the right thing except by chance. For this reason,
evidently, all the record masters were labeled (by the underlying
drivers) either "record.record" or "record.volume", to distinguish
from "outputs.master". We'll now accept "record.master", and document
that as the the new preferred way.

2) More importantly, the model was deficient. Selecting a port on many
chips completely disables most of the level controls, which doesn't play
nice with other applications which are trying to use the interface. Now,
selecting a port simply sets which mixer input control shall be changed,
setting state in the audio layer. In other words, the "mixerout" port
is really selected all the time, enabling the final stage mixer, and
setting "gain" sets the level of the appropriate input. It should be
possible for separate applications to each control the mic, dac, and cd
inputs at the same time using this interface, simply by reiterating their
port selections with each change, but applications that don't bother to
do that aren't any worse off than they were before.

The user is expected to set the master output with another application,
dedicated to that task. Though it is now meaningful to select "no port"
with the audio device interface, to manipulate the master output, there's
no particular reason for an audio device consumer to do that. (I added
the capability in order to restore the initial state of the audio device,
for testing purposes. It might also be useful to users of broken binary-
only applications.)

Observe that the mixer device interface (and so, "mixerctl") still
retains all capabilities, including the ability to set the actual input
port on the chip, overriding the level controls. No change is being made
to the mixer device interface. The mixer device simply presents all the
controls on the chip, with no attempt at abstraction, so there are no
bugs there.

The upshot is, that applications that have been trying to use the audio
device interface to change the volume, such as mplayer, now "just work".

I've tested these changes extensively with "eso" and "eap" since first
proposing them on tech-kern last January, and somewhat with "esm" and a
few others. This closes both PR kern/10221, and PR kern/17159.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon Jan 26 18:17:08 2004 UTC (20 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -2 lines
Complete typedef of struct audio_info to audio_info_t.
From Jared Yanovich via jmc@openbsd.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Jul 4 12:16:05 2003 UTC (21 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +1 -2 lines
There is no als(4).

Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Jun 26 10:14:07 2003 UTC (21 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -2 lines
.Li Dv -> .Dv.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Jun 11 04:41:17 2003 UTC (21 years, 6 months ago) by fair
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +18 -13 lines
Update the SEE ALSO list with drivers that have been added since
1997 (when this man page was updated?). Change an ugly .br hack
into .Ss macros. Add paragraph breaks in a few places to improve
readability.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Apr 16 13:35:16 2003 UTC (21 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3 lines
Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Apr 6 18:20:08 2003 UTC (21 years, 8 months ago) by wiz
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +4 -4 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.50: download - view: text, markup, annotated - select for diffs
Wed Mar 13 00:55:02 2002 UTC (22 years, 9 months ago) by uwe
Branches: MAIN
CVS tags: 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, fvdl_fs64_base
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +11 -4 lines
Use .Dv for AudioN* and AudioC*

Revision 1.49: download - view: text, markup, annotated - select for diffs
Wed Mar 13 00:18:40 2002 UTC (22 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +13 -6 lines
Fix capitalization error, noted by uwe.
Minor mandoc improvements while I'm here.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Feb 22 03:03:54 2002 UTC (22 years, 9 months ago) by uwe
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -2 lines
Fix typo.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed Feb 13 08:17:31 2002 UTC (22 years, 10 months ago) by ross
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -4 lines
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Feb 2 11:11:20 2002 UTC (22 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -2 lines
Drop trailing whitespace.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Feb 2 11:07:36 2002 UTC (22 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +16 -8 lines
A number of small fixes from Sergey Svishchev.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Jan 23 20:58:20 2002 UTC (22 years, 10 months ago) by he
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -1 lines
Add a cross reference to esa(4).

Revision 1.35.4.3: download - view: text, markup, annotated - select for diffs
Sat Jan 19 22:01:05 2002 UTC (22 years, 10 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.35.4.2: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.4.2: +2 -1 lines
Pull up revision 1.43 (requested by he):
  Add driver for Creative Labs SBLive! EMU10000 and (probably) PCI512.
  Fixes PR#15260.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Oct 22 22:23:44 2001 UTC (23 years, 1 month ago) by augustss
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -1 lines
Xref.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Sep 30 00:04:29 2001 UTC (23 years, 2 months ago) by wiz
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2 lines
Remove a 'the'.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Sep 29 19:39:51 2001 UTC (23 years, 2 months ago) by augustss
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -1 lines
Xref esl(4).

Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Sep 11 17:39:01 2001 UTC (23 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +18 -20 lines
Whitespace&punctuation fixes, sort SEE ALSO, sort sections, drop .Pp's,
swap empty lines for .Pp's.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Jun 12 14:54:19 2001 UTC (23 years, 6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -5 lines
Typos/whitespace.

Revision 1.35.4.2: download - view: text, markup, annotated - select for diffs
Thu May 3 21:03:08 2001 UTC (23 years, 7 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Diff to: previous 1.35.4.1: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.4.1: +2 -1 lines
Pull up revision 1.36 (requested by skrll):
  Add a driver for the ESS Technology Maestro-1/2/2E AC97 audio chips,
  ES1968 and ES1978.

Revision 1.35.4.1: download - view: text, markup, annotated - select for diffs
Tue May 1 11:48:19 2001 UTC (23 years, 7 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -2 lines
Pull up revision 1.38 (requested by minoura):
  Add Yamaha YMF724/740/744/745-based sound driver and
  its subordinates.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Mar 30 14:34:27 2001 UTC (23 years, 8 months ago) by minoura
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -2 lines
Manual page for Yamaha YMF724/740/744/754 PCI audio driver.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Jan 22 01:28:54 2001 UTC (23 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -1 lines
Add clct(4) man page.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Jan 8 20:12:51 2001 UTC (23 years, 11 months ago) by rh
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -1 lines
Add reference to esm(4)

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat May 13 15:20:35 2000 UTC (24 years, 7 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +27 -20 lines
Fix formatting glitches.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon May 1 09:32:59 2000 UTC (24 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2 lines
Fix typo.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Apr 30 23:56:05 2000 UTC (24 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -1 lines
Xref cmpci(4).

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Mar 31 05:49:59 2000 UTC (24 years, 8 months ago) by tsarna
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -1 lines
Man page for auvia(4). Also xref fms(4) from audio(4).

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Mar 13 22:40:15 2000 UTC (24 years, 9 months ago) by soren
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
Fix doubled 'the's.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Mar 6 18:49:11 2000 UTC (24 years, 9 months ago) by kleink
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -1 lines
Xref clcs(4).

Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:30:40 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +2 -2 lines
Pull up to last week's -current.

Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 31 22:25:55 1999 UTC (25 years, 1 month ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
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.29 (requested by is):
  Add missing "that" in AUDIO_WSEEK description, fixing PR#8664.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Oct 28 09:53:22 1999 UTC (25 years, 1 month ago) by is
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, comdex-fall-1999-base, comdex-fall-1999
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
Add missing "that" in WSEEK description. By wiz@danbala.ifoer.tuwien.ac.at
in PR 8684.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Sep 9 12:35:53 1999 UTC (25 years, 3 months ago) by augustss
Branches: MAIN
Branch point for: wrstuden-devbsize
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -1 lines
Mention uaudio(4).

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Jul 24 15:06:57 1999 UTC (25 years, 4 months ago) by tron
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
Fix typo noted by "Wiz" in PR misc/8061.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Jul 12 15:20:54 1999 UTC (25 years, 5 months ago) by kleink
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -1 lines
Xref eso(4).

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Jun 16 14:24:11 1999 UTC (25 years, 6 months ago) by kleink
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
Pasto.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Mar 16 01:19:15 1999 UTC (25 years, 9 months ago) by garbled
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001
Branch point for: netbsd-1-4
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
More and more of .Os cleanups.  .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Mar 6 22:40:08 1999 UTC (25 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
Fix minor formatting error.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Dec 8 14:15:27 1998 UTC (26 years ago) by augustss
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +9 -2 lines
Minor touchup and add sv man page.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Aug 6 20:45:44 1998 UTC (26 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -1 lines
Add a midi(4) man page.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu May 28 17:27:15 1998 UTC (26 years, 6 months ago) by augustss
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +13 -1 lines
Add info about mixer_level_t which has been missing for all these years.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat May 9 12:10:31 1998 UTC (26 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -1 lines
Cross reference audioctl(1) and mixerctl(1).

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Apr 30 08:50:04 1998 UTC (26 years, 7 months ago) by fair
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +90 -71 lines
Marathon man page editing session to fix broken .Xr's, add important
references, add a little white space here & there for readability,
clean up some mdoc(7) macro usage and so on. Whew!

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Oct 20 08:22:42 1997 UTC (27 years, 1 month ago) by augustss
Branches: MAIN
CVS tags: netbsd-1-3-base, 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, netbsd-1-3
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +54 -34 lines
Minor editorial changes.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Oct 19 07:40:26 1997 UTC (27 years, 1 month ago) by augustss
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +34 -13 lines
Update for SunOS compatibility.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Oct 16 17:41:22 1997 UTC (27 years, 2 months ago) by augustss
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -3 lines
Cross reference ossaudio(3).

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Oct 8 21:59:52 1997 UTC (27 years, 2 months ago) by jtc
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
Fix tipo inherited from old version of TNF copyright form.
s/REGENTS/FOUNDATION/.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Oct 6 16:00:55 1997 UTC (27 years, 2 months ago) by augustss
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -2 lines
Man page for guspnp driver.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Aug 26 19:03:55 1997 UTC (27 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -1 lines
Make sure audio device starts in half-duplex mode and document the fact.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Aug 24 22:44:16 1997 UTC (27 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +9 -3 lines
Document some minor changes in the audio interface.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Aug 18 23:21:33 1997 UTC (27 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -2 lines
Document how setting the blocksize works now.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Aug 18 21:33:33 1997 UTC (27 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +14 -2 lines
Document /dev/audioctl.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Aug 8 00:04:38 1997 UTC (27 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +12 -4 lines
Document how setting the blocksize works.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Jul 30 22:40:43 1997 UTC (27 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -6 lines
Update man pages a little.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Jul 28 00:23:10 1997 UTC (27 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +86 -34 lines
Update man pages for new audio features.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed May 7 19:24:25 1997 UTC (27 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +30 -5 lines
Return audio buffer size in audio_info_t with ioctl() AUDIO_GETINFO.
Use the buffer size to implement one more OSS ioctl().

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Mar 11 05:29:03 1997 UTC (27 years, 9 months ago) by mikel
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +80 -41 lines
update to match reality a bit more closely.  some parts are from John
  Hawkinson (PR kern/2523) and Lennart Augustsson (PR misc/3303), rest
  is by me.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Feb 27 22:42:05 1996 UTC (28 years, 9 months ago) by jtc
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +23 -15 lines
Copyright assigned to the NetBSD Foundation

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Feb 11 14:50:03 1996 UTC (28 years, 10 months ago) by scottr
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Fix typo, from John Kohl.  Closes PR 2066.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Nov 12 20:14:23 1995 UTC (29 years, 1 month ago) by pk
Branches: MAIN
audio(4) man page from John Kohl (submitted in PR#1752).

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>