diff options
| author | augustss <augustss@NetBSD.org> | 1997-10-26 23:50:30 +0000 |
|---|---|---|
| committer | augustss <augustss@NetBSD.org> | 1997-10-26 23:50:30 +0000 |
| commit | e067be5020c13b8c00494edfca05ab367ea0df9b (patch) | |
| tree | aeae0183c658813d7c5d88274a24318ebb3c634f /lib/libossaudio | |
| parent | 2793a8e02ae58d78e8f3e4fe0270250d6b69cfa4 (diff) | |
Add some missing defines and add history to man page.
Diffstat (limited to 'lib/libossaudio')
| -rw-r--r-- | lib/libossaudio/ossaudio.3 | 7 | ||||
| -rw-r--r-- | lib/libossaudio/ossaudio.c | 4 | ||||
| -rw-r--r-- | lib/libossaudio/soundcard.h | 4 |
3 files changed, 11 insertions, 4 deletions
diff --git a/lib/libossaudio/ossaudio.3 b/lib/libossaudio/ossaudio.3 index 22e2e315713..99308ff7d91 100644 --- a/lib/libossaudio/ossaudio.3 +++ b/lib/libossaudio/ossaudio.3 @@ -1,4 +1,4 @@ -.\" $NetBSD: ossaudio.3,v 1.3 1997/10/16 17:50:29 augustss Exp $ +.\" $NetBSD: ossaudio.3,v 1.4 1997/10/26 23:50:30 augustss Exp $ .\" .\" Copyright (c) 1997 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -54,3 +54,8 @@ The emulation uses an #define for ioctl() so some obscure programs can fail to compile. .Pp The emulation is incomplete. +.Sh HISTORY +The +.Nm +library first appeared in +.Nx 1.3 . diff --git a/lib/libossaudio/ossaudio.c b/lib/libossaudio/ossaudio.c index d0c283553eb..98694337b4b 100644 --- a/lib/libossaudio/ossaudio.c +++ b/lib/libossaudio/ossaudio.c @@ -1,4 +1,4 @@ -/* $NetBSD: ossaudio.c,v 1.2 1997/10/19 07:47:48 augustss Exp $ */ +/* $NetBSD: ossaudio.c,v 1.3 1997/10/26 23:50:33 augustss Exp $ */ /* * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -39,7 +39,7 @@ */ /* XXX This file is essentially the same as sys/compat/ossaudio.c. - * With some preprocessor magic it coule be the same file. + * With some preprocessor magic it could be the same file. */ #include <string.h> diff --git a/lib/libossaudio/soundcard.h b/lib/libossaudio/soundcard.h index fe3d09e87d9..1ee3524a2ab 100644 --- a/lib/libossaudio/soundcard.h +++ b/lib/libossaudio/soundcard.h @@ -1,4 +1,4 @@ -/* $NetBSD: soundcard.h,v 1.1 1997/10/16 17:31:04 augustss Exp $ */ +/* $NetBSD: soundcard.h,v 1.2 1997/10/26 23:50:36 augustss Exp $ */ /* * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -52,8 +52,10 @@ #define SNDCTL_DSP_STEREO _IOWR('P', 3, int) #define SNDCTL_DSP_GETBLKSIZE _IOWR('P', 4, int) #define SNDCTL_DSP_SETFMT _IOWR('P', 5, int) +#define SNDCTL_DSP_SAMPLESIZE SNDCTL_DSP_SETFMT #define SOUND_PCM_READ_BITS _IOR ('P', 5, int) #define SNDCTL_DSP_CHANNELS _IOWR('P', 6, int) +#define SOUND_PCM_WRITE_CHANNELS SNDCTL_DSP_CHANNELS #define SOUND_PCM_READ_CHANNELS _IOR ('P', 6, int) #define SOUND_PCM_WRITE_FILTER _IOWR('P', 7, int) #define SOUND_PCM_READ_FILTER _IOR ('P', 7, int) |
