From 4bd4f74b5ff8a63cebf2641231af779b31668740 Mon Sep 17 00:00:00 2001 From: Nate Williams Date: Sat, 21 Feb 1998 17:53:04 +0000 Subject: there is a minor bug in sb_dsp.c -- the driver reports ESS cards as able to do 16-bit, but it has no support for it. Submitted by: Luigi Rizzo --- sys/dev/sound/isa/sb.c | 1 - sys/dev/sound/isa/sb16.c | 1 - sys/dev/sound/isa/sb8.c | 1 - 3 files changed, 3 deletions(-) (limited to 'sys/dev/sound') diff --git a/sys/dev/sound/isa/sb.c b/sys/dev/sound/isa/sb.c index 8af9908b031a..b76df8f49d34 100644 --- a/sys/dev/sound/isa/sb.c +++ b/sys/dev/sound/isa/sb.c @@ -618,7 +618,6 @@ sb_dsp_init(snddev_info *d, struct isa_device *dev) printf("ESS1868 (rev %d)\n", rev); else printf("ESS688 (rev %d)\n", rev); - d->audio_fmt |= AFMT_S16_LE; /* in fact it is U16_LE */ break ; /* XXX */ } else { printf("Unknown card 0x%x 0x%x -- hope it is SBPRO\n", diff --git a/sys/dev/sound/isa/sb16.c b/sys/dev/sound/isa/sb16.c index 8af9908b031a..b76df8f49d34 100644 --- a/sys/dev/sound/isa/sb16.c +++ b/sys/dev/sound/isa/sb16.c @@ -618,7 +618,6 @@ sb_dsp_init(snddev_info *d, struct isa_device *dev) printf("ESS1868 (rev %d)\n", rev); else printf("ESS688 (rev %d)\n", rev); - d->audio_fmt |= AFMT_S16_LE; /* in fact it is U16_LE */ break ; /* XXX */ } else { printf("Unknown card 0x%x 0x%x -- hope it is SBPRO\n", diff --git a/sys/dev/sound/isa/sb8.c b/sys/dev/sound/isa/sb8.c index 8af9908b031a..b76df8f49d34 100644 --- a/sys/dev/sound/isa/sb8.c +++ b/sys/dev/sound/isa/sb8.c @@ -618,7 +618,6 @@ sb_dsp_init(snddev_info *d, struct isa_device *dev) printf("ESS1868 (rev %d)\n", rev); else printf("ESS688 (rev %d)\n", rev); - d->audio_fmt |= AFMT_S16_LE; /* in fact it is U16_LE */ break ; /* XXX */ } else { printf("Unknown card 0x%x 0x%x -- hope it is SBPRO\n", -- cgit v1.2.3