summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1998-07-14 05:38:59 +0000
committerJason Wright <jason@cvs.openbsd.org>1998-07-14 05:38:59 +0000
commitdee6404bcf0407a3008c009628dd9acc135c6345 (patch)
treedce807cead59ed6b5a8ce69408f77c1f9297fd58 /sys
parentc7d428b9c27b1c37a3e753ffb21eef8904b64118 (diff)
Use AudioEmulaw string and set precision & flags
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/dev/amd7930.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/amd7930.c b/sys/arch/sparc/dev/amd7930.c
index caee0f307a4..5960be3414c 100644
--- a/sys/arch/sparc/dev/amd7930.c
+++ b/sys/arch/sparc/dev/amd7930.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amd7930.c,v 1.12 1998/05/14 10:19:12 niklas Exp $ */
+/* $OpenBSD: amd7930.c,v 1.13 1998/07/14 05:38:58 jason Exp $ */
/* $NetBSD: amd7930.c,v 1.37 1998/03/30 14:23:40 pk Exp $ */
/*
@@ -402,10 +402,12 @@ amd7930_query_encoding(addr, fp)
void *addr;
struct audio_encoding *fp;
{
- switch (fp->index) { /* ??? */
+ switch (fp->index) {
case 0:
- strcpy(fp->name, "MU-Law");
+ strcpy(fp->name, AudioEmulaw);
fp->encoding = AUDIO_ENCODING_ULAW;
+ fp->precision = 8;
+ fp->flags = 0;
break;
default:
return (EINVAL);