From dee6404bcf0407a3008c009628dd9acc135c6345 Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Tue, 14 Jul 1998 05:38:59 +0000 Subject: Use AudioEmulaw string and set precision & flags --- sys/arch/sparc/dev/amd7930.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sys') 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); -- cgit v1.2.3