OpenBSD CVS

CVS log for src/lib/libossaudio/soundcard.h


[BACK] Up to [local] / src / lib / libossaudio

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15 / (download) - annotate - [select for diffs], Thu Jan 22 00:07:15 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, 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, OPENBSD_6_5_BASE, OPENBSD_6_5, 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, 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, HEAD
Changes since 1.14: +1 -3 lines
Diff to previous 1.14 (colored)

Do not need to include <sys/cdefs.h> when headers included above end up
doing so.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Mar 27 20:28:22 2013 UTC (11 years, 2 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

rename define to reflect current operating system, as in sys/compat
from tim van der molen

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jun 26 05:42:05 2008 UTC (15 years, 11 months ago) by ray
Branch: MAIN
CVS Tags: 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, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.12: +1 -8 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Mon Nov 12 05:11:16 2007 UTC (16 years, 6 months ago) by jakemsr
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)


implement SNDCTL_DSP_GETODELAY

bump minor version

ok deanna@

Revision 1.11 / (download) - annotate - [select for diffs], Mon Dec 19 16:16:19 2005 UTC (18 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.10: +6 -4 lines
Diff to previous 1.10 (colored)

Use __BSD_VISIBLE instead of _POSIX_SOURCE to avoid pulling
in most of machine/endian.h.  OK espie@

Revision 1.10 / (download) - annotate - [select for diffs], Sat May 3 19:01:48 2003 UTC (21 years, 1 month ago) by avsm
Branch: MAIN
CVS Tags: 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, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.9: +9 -1 lines
Diff to previous 1.9 (colored)

- make it -Wall clean
- add SNDCTL_DSP_SETDUPLEX emulation (netbsd)
- SNDCTL_DSP_POST is a noop to prevent some apps blocking (netbsd)
- some man pages fixes (from me and netbsd)
- add some more missing #defines for SOUND_MIXER_*  (netbsd)

Revision 1.9 / (download) - annotate - [select for diffs], Wed Apr 24 21:59:53 2002 UTC (22 years, 1 month ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.8: +2 -7 lines
Diff to previous 1.8 (colored)

make oss_ioctl varargs.
this is not standard C, but it works on the arches we support,
and osscompat is a dirty hack in the first place.
ok millert@, tested naddy@

Revision 1.8 / (download) - annotate - [select for diffs], Sat Mar 23 20:38:10 2002 UTC (22 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

Force inclusion of <sys/ioctl.h> before the body of soundcard.h.
Since soundcard.h #defines ioctl to oss_ioctl we need to see the
ioctl prototype first.  This works around a problem exposed by the
__P removal.

A slightly better solution may be to simply replace ioctl() in
libossaudio, calling the real ioctl() via syscall(2) when needed.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:27 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Sat Aug 18 19:33:30 2001 UTC (22 years, 9 months ago) by brad
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.5: +35 -8 lines
Diff to previous 1.5 (colored)

sync up libossaudio with NetBSD changes.
--
- Add __BEGIN_DECLS & __END_DECLS for C++
- Make protection against multiple inclusion non-invasive wrt. name space
- Use EAGAIN instead of EWOULDBLOCK.  The actual numeric value is
same, but EAGAIN is the posixly correct name
- Remove white space
- Change the behaviour to report emulated encodings, too
- Implement SOUND_MIXER_INFO
- Implement OSS_GETVERSION
- Accept mixer values above max (100)
- Handle the info from AUDIO_MIXER_DEVINFO properly, parts of it is opaque
- Use accurate rounding in conversion between OSS and OpenBSD volume values
- Map OSS mixer device "line1" to native mixer device "aux"
--
Some testing by pvalchev@, no response from other testers in over a month
and a half.

Revision 1.5 / (download) - annotate - [select for diffs], Thu May 24 04:21:03 2001 UTC (23 years ago) by aaron
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Fix fragment handling for SNDCTL_DSP_GETxSPACE ioctls; per NetBSD PR/12796.
The kernel part of this fixes sound emulation for version 1.37c of the Linux
binary of Snes9x (Super Nintendo emulator). The userland equivalent fix should
allow espie to remove his local audio hacks in the squeak port.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Sep 1 08:15:20 1999 UTC (24 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

typo

Revision 1.3 / (download) - annotate - [select for diffs], Tue Aug 31 19:41:06 1999 UTC (24 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +5 -1 lines
Diff to previous 1.2 (colored)

pull in ioccom.h because apps exist which do not pull in ioctl.h first; steuck@iname.com

Revision 1.2 / (download) - annotate - [select for diffs], Wed Feb 17 01:27:36 1999 UTC (25 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.1: +6 -1 lines
Diff to previous 1.1 (colored)

#undef _POSIX_SOURCE after inclusion of machine/endian.h (if it was not already defined).

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri May 1 09:23:00 1998 UTC (26 years, 1 month ago) by provos
Branch: ossaudio
CVS Tags: ossaudio00, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

libossaudio from NetBSD mostly by Lennart Augustsson <augustss@cs.chalmers.se>

Revision 1.1 / (download) - annotate - [select for diffs], Fri May 1 09:23:00 1998 UTC (26 years, 1 month ago) by provos
Branch: MAIN

Initial revision

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.