History log of /openbsd-current/lib/libossaudio/soundcard.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.15 22-Jan-2015 deraadt

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


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.14 27-Mar-2013 tedu

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


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.13 26-Jun-2008 ray

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 tags: OPENBSD_4_3_BASE
# 1.12 12-Nov-2007 jakemsr

implement SNDCTL_DSP_GETODELAY

bump minor version

ok deanna@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.11 19-Dec-2005 millert

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


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE
# 1.10 03-May-2003 avsm

- 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 tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.9 24-Apr-2002 espie

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 tags: OPENBSD_3_1_BASE
# 1.8 23-Mar-2002 millert

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.


# 1.7 16-Feb-2002 millert

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 tags: OPENBSD_3_0_BASE
# 1.6 18-Aug-2001 brad

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.


# 1.5 24-May-2001 aaron

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 tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.4 01-Sep-1999 deraadt

typo


# 1.3 31-Aug-1999 deraadt

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


Revision tags: OPENBSD_2_5_BASE
# 1.2 17-Feb-1999 millert

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


# 1.1 01-May-1998 provos

branches: 1.1.1;
Initial revision