OpenBSD CVS

CVS log for src/share/man/man9/audio.9


[BACK] Up to [local] / src / share / man / man9

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.35 / (download) - annotate - [select for diffs], Sun Oct 15 15:49:47 2023 UTC (7 months, 3 weeks ago) by chrisz
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.34: +14 -8 lines
Diff to previous 1.34 (colored)

audio(9): deprecate start_{output,input}

ok ratchov@, kn@

Revision 1.34 / (download) - annotate - [select for diffs], Wed Nov 2 10:41:34 2022 UTC (19 months ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3
Changes since 1.33: +2 -12 lines
Diff to previous 1.33 (colored)

Remove audio(9) speaker_ctl(), let open() handle speakers where needed

Only five legacy half-duplex hardware drivers require this function to
change between playing and recording:
	i386: ess(4), gus(4), pas(4), sb(4)
	luna88k: nec86(4)

If defined, it is always called early in audio_open(), so just move the
call from audio(4) to each hardware driver's open() handler.

SPKR_ON/OFF remain defined to leave driver-specific code unchanged.

Further cleanup (unchecked speaker_ctl() return values,
FWRITE -> AUMODE_PLAY -> SPKR_ON dances, etc.) can happen later.

Builds fine on i386.
OK ratchov

Revision 1.33 / (download) - annotate - [select for diffs], Fri Oct 28 15:13:59 2022 UTC (19 months, 1 week ago) by kn
Branch: MAIN
Changes since 1.32: +2 -7 lines
Diff to previous 1.32 (colored)

Remove unused audio(9) get_props()/AUDIO_PROP_FULLDUPLEX

All audio drivers have been cleaned up and, if needed, now check for duplex
mode in their open() handler.

OK ratchov miod

Revision 1.32 / (download) - annotate - [select for diffs], Wed Oct 19 19:59:06 2022 UTC (19 months, 2 weeks ago) by kn
Branch: MAIN
Changes since 1.31: +2 -11 lines
Diff to previous 1.31 (colored)

Remove unused setfd member from struct audio_hw_if

All consumers now use C99 struct init and none of them sets `.setfd'.

OK ratchov miod

Revision 1.31 / (download) - annotate - [select for diffs], Thu Mar 31 17:27:23 2022 UTC (2 years, 2 months ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.30: +6 -6 lines
Diff to previous 1.30 (colored)

man pages: add missing commas between subordinate and main clauses

jmc@ dislikes a comma before "then" in a conditional, so leave those
untouched.

ok jmc@

Revision 1.30 / (download) - annotate - [select for diffs], Wed Mar 30 19:03:20 2022 UTC (2 years, 2 months ago) by miod
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

Mention constification of *_hw_if (files forgotten during constification
commit)

Revision 1.29 / (download) - annotate - [select for diffs], Fri Sep 13 15:47:47 2019 UTC (4 years, 8 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.28: +28 -28 lines
Diff to previous 1.28 (colored)

fix markup of the return types of function pointers;
found with mandoc -T lint

Revision 1.28 / (download) - annotate - [select for diffs], Thu Sep 5 05:33:57 2019 UTC (4 years, 9 months ago) by ratchov
Branch: MAIN
Changes since 1.27: +56 -2 lines
Diff to previous 1.27 (colored)

Add the set_blksz() and set_nblks() audio driver functions.

The first sets the block size in frames, which is necessarily common
to play and recording directions no matter the number of channels. The
second sets the number of blocks per buffer for the given
direction. Together, these two functions allow audio drivers to easily
set the block size, matching both playback and recording constraints.

The round_blocksize() didn't allow to do so because it returns the
block size in *bytes*. Since the driver doesn't know if it's called
for the play or for the record block size, it's impossible to
calculate the block size in all cases if play and record number of
channels are different.

ok mpi@

Revision 1.27 / (download) - annotate - [select for diffs], Tue Mar 12 08:18:34 2019 UTC (5 years, 2 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.26: +24 -2 lines
Diff to previous 1.26 (colored)

Document the new copy_output() and underrun() driver methods.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Sep 19 06:46:43 2016 UTC (7 years, 8 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.25: +0 -6 lines
Diff to previous 1.25 (colored)

Remove unused getdev() audio driver functions.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Sep 14 06:12:19 2016 UTC (7 years, 8 months ago) by ratchov
Branch: MAIN
Changes since 1.24: +0 -50 lines
Diff to previous 1.24 (colored)

Remove drain(), query_encoding(), mappage() and get_default_params()
methods from all audio drivers and from the audio_if structure as they
are never called.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Sep 1 10:14:08 2016 UTC (7 years, 9 months ago) by ratchov
Branch: MAIN
Changes since 1.23: +12 -48 lines
Diff to previous 1.23 (colored)

Remove references to removed ioctls and data structures.
Suggested by jmc@.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Jan 21 03:15:46 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

obvious .Pa fixes; found with mandocdb(8)

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jul 15 03:43:11 2010 UTC (13 years, 10 months ago) by jakemsr
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.21: +4 -2 lines
Diff to previous 1.21 (colored)

add two new members to structs audio_encoding and audio_prinfo.
for both structs, the new members are 'bps' and 'msb', which
describe the number of bytes per sample and data alignment in the
sample, respectively.  drivers must properly set these fields in
the 'query_encoding', 'set_parameters' and 'get_default_params'
hardware interface methods.

discussed with ratchov, deraadt

Revision 1.21 / (download) - annotate - [select for diffs], Mon Oct 27 07:53:24 2008 UTC (15 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

sa_open -> sio_open, after recent changes;

Revision 1.20 / (download) - annotate - [select for diffs], Sun Oct 26 15:07:25 2008 UTC (15 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored)

add some audio/libsa cross refs;

Revision 1.19 / (download) - annotate - [select for diffs], Thu Jun 26 05:42:07 2008 UTC (15 years, 11 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.18: +2 -9 lines
Diff to previous 1.18 (colored)

First pass at removing clauses 3 and 4 from NetBSD licenses.

Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.

OK deraadt@

Revision 1.18 / (download) - annotate - [select for diffs], Mon Apr 21 00:32:42 2008 UTC (16 years, 1 month ago) by jakemsr
Branch: MAIN
Changes since 1.17: +18 -2 lines
Diff to previous 1.17 (colored)


allow low level audio drivers to specify a default sample format,
instead of 8-bit mono mulaw @ 8kHz.

this is just the infrastructure; no drivers are specifying a default
yet.

ok ratchov@, deanna@

Revision 1.17 / (download) - annotate - [select for diffs], Thu May 31 19:20:00 2007 UTC (17 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

convert to new .Dd format;

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jan 31 11:22:09 2004 UTC (20 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.15: +231 -213 lines
Diff to previous 1.15 (colored)

update from Jared Yanovich:

- sync with header
- macro fixes
- readability fixes

Revision 1.15 / (download) - annotate - [select for diffs], Thu Oct 23 18:31:34 2003 UTC (20 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

typos from Jared Yanovich;

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jun 6 20:56:32 2003 UTC (21 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

- section reorder
- macro fixes
- kill whitespace at EOL
- use .Ox for OpenBSD, .Fx for FreeBSD

Revision 1.13 / (download) - annotate - [select for diffs], Tue Apr 15 04:14:29 2003 UTC (21 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.12: +10 -9 lines
Diff to previous 1.12 (colored)

typos;

VOP, crypto and disklabel ok tedu@
audio(9) ok naddy@

Revision 1.12 / (download) - annotate - [select for diffs], Fri Mar 28 09:47:21 2003 UTC (21 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

mu-law and A-law spelling;
mu-law and u-law are the same, so used mu-law for consistency;

ok jason@

Revision 1.11 / (download) - annotate - [select for diffs], Sat Mar 8 23:17:18 2003 UTC (21 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

.Xr's for section9:

- MLINKS for uvm stuff
- MLINK vgone.9 vgonel.9
- typos
- fixed SYNOPSIS of extattr(9)

lots of help from miod and art
ok miod@ art@

Revision 1.10 / (download) - annotate - [select for diffs], Sun Feb 17 19:42:29 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.9: +11 -11 lines
Diff to previous 1.9 (colored)

Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)

Revision 1.9 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:39 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.8: +23 -23 lines
Diff to previous 1.8 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Dec 29 17:27:26 2001 UTC (22 years, 5 months ago) by mickey
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

proper history

Revision 1.7 / (download) - annotate - [select for diffs], Mon Sep 24 12:23:15 2001 UTC (22 years, 8 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.6: +42 -9 lines
Diff to previous 1.6 (colored)

Somewhat more extensive detail

Revision 1.6 / (download) - annotate - [select for diffs], Fri Dec 22 00:13:34 2000 UTC (23 years, 5 months ago) by avsm
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

more typo fixes; aaron@ ok

Revision 1.5 / (download) - annotate - [select for diffs], Sun Dec 3 15:06:08 2000 UTC (23 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

typo (d@)

Revision 1.4 / (download) - annotate - [select for diffs], Thu Oct 12 18:05:57 2000 UTC (23 years, 7 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.3: +66 -54 lines
Diff to previous 1.3 (colored)

General man page cleanups, mostly to remove trailing whitespace, hard
sentence breaks, and other such things.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Apr 27 18:29:26 2000 UTC (24 years, 1 month ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.2: +59 -9 lines
Diff to previous 1.2 (colored)

audio(9) from netbsd, seems to match pretty well

Revision 1.2, Wed Sep 22 09:54:37 1999 UTC (24 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.1: +1 -1 lines
FILE REMOVED

REVERT TO PREVIOUS STATE OF AFFAIR.

If those pages are different from the NetBSD version, maybe there's a
reason ?

Like, possibly, I just read our source code, which just happens to do
things in DIFFERENT ways than NetBSD does ?

As far as the added pages go, they obviously haven't been checked against
actual code as well, hence they're worse than useless, since a large part
of the information is definitely misleading.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Sep 22 03:16:47 1999 UTC (24 years, 8 months ago) by csapuntz
Branch: MAIN



Add/update some man9 pages from NetBSD

This form allows you to request diff's 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.