Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 1999 12:33:07 +0900
From:      Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
To:        cg@FreeBSD.org
Cc:        Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
Subject:   Re: cvs commit: src/sys/dev/sound/pcm channel.c
Message-ID:  <14433.38899.647147.72159A@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp>
In-Reply-To: In your message of "Sun, 19 Dec 1999 14:32:56 -0800 (PST)" <199912192232.OAA84862@freefall.freebsd.org>
References:  <199912192232.OAA84862@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 19 Dec 1999 14:32:56 -0800 (PST),
  Cameron Grant <cg@FreeBSD.org> said:

Cameron>   stop playing if we underrun; if there is more data to come, the next write
Cameron>   will restart

If the top half ie chn_write() restarts writing immediately after
underrun, DMA seems to not start on some certain DSPs(including my
CS461x). You cannot tell in general whether the current DMA transfer
stops at the exact time of chn_trigger(c, PCMTRIG_STOP), or after the
transfer of the current block completes. The old way to handle
underflow is much simpler and robuster.

-- 
Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp> <tanimura@freebsd.org>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14433.38899.647147.72159A>