From ad0b39e32d3724d10b4909d983b7289f9f4d7874 Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Wed, 29 Jun 2011 19:51:13 +0000 Subject: mark S8 encoding as emulated; only S16LE and U8 are natively supported ok ratchov@ --- sys/dev/pci/cmpci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/cmpci.c b/sys/dev/pci/cmpci.c index 76d94c794d6..6ffbde529e2 100644 --- a/sys/dev/pci/cmpci.c +++ b/sys/dev/pci/cmpci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmpci.c,v 1.31 2011/04/03 15:36:02 jasper Exp $ */ +/* $OpenBSD: cmpci.c,v 1.32 2011/06/29 19:51:12 naddy Exp $ */ /* $NetBSD: cmpci.c,v 1.25 2004/10/26 06:32:20 xtraeme Exp $ */ /* @@ -672,7 +672,7 @@ cmpci_query_encoding(void *handle, struct audio_encoding *fp) strlcpy(fp->name, AudioEslinear, sizeof fp->name); fp->encoding = AUDIO_ENCODING_SLINEAR; fp->precision = 8; - fp->flags = 0; + fp->flags = AUDIO_ENCODINGFLAG_EMULATED; break; case 4: strlcpy(fp->name, AudioEslinear_le, sizeof fp->name); -- cgit v1.2.3