From 000d29ed475796737cf2356bc62b088595d061e0 Mon Sep 17 00:00:00 2001 From: kato Date: Tue, 3 Jun 1997 10:25:41 +0000 Subject: Fixed order of data transfer. Reviewed by: NAGAO Tadaaki Submitted by: Takuya SHIOZAKI --- sys/i386/isa/sound/pcm86.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/i386/isa/sound/pcm86.c b/sys/i386/isa/sound/pcm86.c index 74fb8f3..0df86b1 100644 --- a/sys/i386/isa/sound/pcm86.c +++ b/sys/i386/isa/sound/pcm86.c @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: pcm86.c,v 1.3 1997/02/22 09:38:14 peter Exp $ */ /* @@ -1070,10 +1070,14 @@ fifo_send_mono_16be(pcm_data *buf, int count, int uflag) } d = ((d0 * (pcm_s.chipspeed - pcm_s.acc)) + (d1 * pcm_s.acc)) / pcm_s.chipspeed; +/* outb(pcm_s.iobase + 12, d & 0xff); + outb(pcm_s.iobase + 12, (d >> 8) & 0xff); outb(pcm_s.iobase + 12, d & 0xff); + outb(pcm_s.iobase + 12, (d >> 8) & 0xff); */ outb(pcm_s.iobase + 12, (d >> 8) & 0xff); outb(pcm_s.iobase + 12, d & 0xff); outb(pcm_s.iobase + 12, (d >> 8) & 0xff); + outb(pcm_s.iobase + 12, d & 0xff); pcm_s.acc += pcm_s.speed; } -- cgit v1.1