From 0bb85c49224837bd825a633c9b51a1d549d54460 Mon Sep 17 00:00:00 2001 From: minoura Date: Mon, 7 May 2001 09:42:30 +0000 Subject: [PATCH] Encoding ulinear and mulaw are both software emulated. From Isaki-san. --- sys/arch/x68k/dev/vs.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/arch/x68k/dev/vs.c b/sys/arch/x68k/dev/vs.c index 1a9ad56e73d8..a8844ea0ca1e 100644 --- a/sys/arch/x68k/dev/vs.c +++ b/sys/arch/x68k/dev/vs.c @@ -1,4 +1,4 @@ -/* $NetBSD: vs.c,v 1.2 2001/05/03 02:09:12 minoura Exp $ */ +/* $NetBSD: vs.c,v 1.3 2001/05/07 09:42:30 minoura Exp $ */ /* * Copyright (c) 2001 Tetsuya Isaki. All rights reserved. @@ -332,16 +332,16 @@ vs_query_encoding(void *hdl, struct audio_encoding *fp) fp->flags = 0; break; case 1: - strcpy(fp->name, AudioEulinear); - fp->encoding = AUDIO_ENCODING_ULINEAR; - fp->precision = 8; - fp->flags = 0; - break; - case 2: strcpy(fp->name, AudioEadpcm); fp->encoding = AUDIO_ENCODING_ADPCM; fp->precision = 4; - fp->flags = 0; + fp->flags = AUDIO_ENCODINGFLAG_EMULATE; + break; + case 2: + strcpy(fp->name, AudioEulinear); + fp->encoding = AUDIO_ENCODING_ULINEAR; + fp->precision = 8; + fp->flags = AUDIO_ENCODINGFLAG_EMULATE; break; default: return EINVAL;