The NetBSD Project

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

[BACK] Up to [cvs.NetBSD.org] / src / lib / libossaudio

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.24 / (download) - annotate - [select for diffs], Tue Sep 9 10:45:18 2014 UTC (6 years ago) by nat
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, is-mlppp-base, is-mlppp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, HEAD
Changes since 1.23: +11 -2 lines
Diff to previous 1.23 (colored)

Add missing defines for 16, 24 and 32 bit NE and OE formats.
Add the ability to set 24 and 32 bit precision.

This commit was approved by wiz@

Revision 1.23 / (download) - annotate - [select for diffs], Sat May 17 12:38:42 2014 UTC (6 years, 4 months ago) by nat
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.22: +84 -2 lines
Diff to previous 1.22 (colored)

Adds ioctls and defines for OSSv4 compatibility.

The ioctl definitions and accompanying structures were
taken from FreeBSD's soundcard.h, hopefully providing
some binary compatibility.

The ioctls are as follows:
	SNDCTL_SYSINFO: Returns a structure containing
		details about the audio device.
	SNDCTL_ENGINEINFO - SNDCTL_AUDIOINFO: Returns a
		structure with playback/recording
		characteristics.
	SNDCTL_DSP_GETPLAYVOL, SNDCTL_DSP_SETPLAYVOL,
	SNDCTL_DSP_GETRECVOL, SNDCTL_DSP_SETRECVOL:
		Retrieves/Sets Playback/Recording volume.
	SNDCTL_DSP_SKIP - SNDCTL_DSP_SILENCE: These ioctls
		were intended to manipulate the underlying
		audio buffer skip or insert silence.  These
		return EINVAL.

SOUND_VERSION is unchanged, but is definable,  It will be
changed when the mixer OSSv4 ioctls are written.

Addresses PR 46611
This commit was approved by wiz@.

Revision 1.22 / (download) - annotate - [select for diffs], Sat May 5 15:57:45 2012 UTC (8 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, 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, agc-symver-base, agc-symver
Branch point for: tls-maxphys, tls-earlyentropy
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

fix typo, WARNS=5

Revision 1.21 / (download) - annotate - [select for diffs], Sat May 5 15:04:57 2012 UTC (8 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.20: +7 -13 lines
Diff to previous 1.20 (colored)

avoid using cpp variadic macros and explain why.

Revision 1.20 / (download) - annotate - [select for diffs], Fri May 4 11:48:12 2012 UTC (8 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

- match regular ioctl prototype (3rd argument is optional)
- fix lint issues

Revision 1.19 / (download) - annotate - [select for diffs], Tue Sep 6 01:20:18 2011 UTC (9 years ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base
Branch point for: yamt-pagecache, netbsd-6
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

Add support for AFMT_AC3

Revision 1.18 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:01 2008 UTC (12 years, 5 months ago) by martin
Branch: 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-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.17: +1 -8 lines
Diff to previous 1.17 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.17 / (download) - annotate - [select for diffs], Sat Mar 15 20:18:20 2008 UTC (12 years, 6 months ago) by bjs
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, matt-armv6-nbase, keiichi-mipv6-base
Branch point for: yamt-pf42
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

s/prototyoe/prototype/

Revision 1.16 / (download) - annotate - [select for diffs], Tue Sep 18 22:57:31 2007 UTC (13 years ago) by mlelstv
Branch: MAIN
CVS Tags: matt-armv6-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf
Branch point for: keiichi-mipv6
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

Implement OSS_SNDCTL_DSP_GETODELAY and provide a no-op function
for OSS_SNDCTL_DSP_PROFILE.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Feb 9 18:02:53 2005 UTC (15 years, 7 months ago) by drochner
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, 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, matt-mips64-base, matt-mips64, hpcarm-cleanup, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: matt-armv6
Changes since 1.14: +8 -1 lines
Diff to previous 1.14 (colored)

work around a prototype conflict by including ioctl.h
before we redefile ioctl()

Revision 1.14 / (download) - annotate - [select for diffs], Fri Feb 4 16:19:21 2005 UTC (15 years, 7 months ago) by perry
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

de-__P

Revision 1.13 / (download) - annotate - [select for diffs], Mon May 27 14:42:15 2002 UTC (18 years, 4 months ago) by wiz
Branch: 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, fvdl_fs64_base
Changes since 1.12: +9 -1 lines
Diff to previous 1.12 (colored)

Add SOUND_MASK_* for the last SOUND_MIXER_* values that didn't have any.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jan 11 12:11:09 2002 UTC (18 years, 8 months ago) by kleink
Branch: 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
Changes since 1.11: +3 -18 lines
Diff to previous 1.11 (colored)

Determine the 'native' endianness using _BYTE_ORDER from
<machine/endian_machdep.h>.

The previous method of wrapping a definition of _POSIX_SOURCE around the
inclusion of other headers to reduce namespace pollution had the
side-effect of not all required identifiers being defined when included
thereafter by the application itself (due to multiple-inclusion protection),
and is not blessed by that standard.

Revision 1.11 / (download) - annotate - [select for diffs], Wed May 9 21:49:58 2001 UTC (19 years, 4 months ago) by augustss
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Apply patch in PR lib/12796 from Frederick Bruckman <fb@enteract.com>

Revision 1.10 / (download) - annotate - [select for diffs], Tue Nov 16 23:56:42 1999 UTC (20 years, 10 months ago) by augustss
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.9: +16 -1 lines
Diff to previous 1.9 (colored)

Implement SOUND_MIXER_INFO.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Apr 13 20:45:25 1999 UTC (21 years, 5 months ago) by augustss
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Changes since 1.8: +5 -2 lines
Diff to previous 1.8 (colored)

Make copyrights conform.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Mar 18 11:22:54 1999 UTC (21 years, 6 months ago) by augustss
Branch: MAIN
CVS Tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Changes since 1.7: +11 -2 lines
Diff to previous 1.7 (colored)

Avoid defining _POSIX_SOURCE.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 5 15:16:33 1999 UTC (21 years, 7 months ago) by kleink
Branch: MAIN
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

Make protection against multiple inclusion non-invasive wrt. name space.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jun 29 20:48:00 1998 UTC (22 years, 3 months ago) by augustss
Branch: MAIN
Changes since 1.5: +6 -1 lines
Diff to previous 1.5 (colored)

Revert the #define of ioctl to its previous state since my
"improvement" broke some packages.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jun 19 15:05:09 1998 UTC (22 years, 3 months ago) by augustss
Branch: MAIN
Changes since 1.4: +7 -3 lines
Diff to previous 1.4 (colored)

Add __BEGIN_DECLS & __END_DECLS for C++ and clean up a little.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Oct 29 20:23:27 1997 UTC (22 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.3: +25 -2 lines
Diff to previous 1.3 (colored)

Add even more defines.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Oct 29 00:31:11 1997 UTC (22 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.2: +47 -12 lines
Diff to previous 1.2 (colored)

Fix a serious emulation bug.
Add some missing #defines.
Add a little more documentation.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Oct 26 23:50:36 1997 UTC (22 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

Add some missing defines and add history to man page.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Oct 16 17:31:04 1997 UTC (22 years, 11 months ago) by augustss
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3

Initial version of a user level emulation of the OSS audio API.
Useful for compiling Linux audio programs.

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.




CVSweb <webmaster@jp.NetBSD.org>