diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2011-06-29 19:51:13 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2011-06-29 19:51:13 +0000 |
commit | ad0b39e32d3724d10b4909d983b7289f9f4d7874 (patch) | |
tree | 9f88b7e0c45f8a827f5d6904d643a22ac9def894 | |
parent | 5c672e11439061dbe0a434083189c55df051c734 (diff) |
mark S8 encoding as emulated; only S16LE and U8 are natively supported
ok ratchov@
-rw-r--r-- | sys/dev/pci/cmpci.c | 4 |
1 files 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); |