This is the mail archive of the
sid@sources.redhat.com
mailing list for the SID project.
Re: sidcomp.audio test failure
- To: bje at redhat dot com (Ben Elliston)
- Subject: Re: sidcomp.audio test failure
- From: fche at redhat dot com (Frank Ch. Eigler)
- Date: 13 Jul 2001 07:52:59 -0400
- Cc: sid at sources dot redhat dot com
- References: <15182.36386.608754.484771.cygnus.project.sid@scooby.brisbane.redhat.com>
bje wrote:
: I tracked down a failure in the `linusraw.exp' test today. [...]
Thanks.
: [...] Instead, the test should perhaps keep polling the component
: until it has emptied its buffer and *then* check that the
: tx-sample-count is the correct value. Thoughts? [...]
Yup, makes sense. Do your test logs include the following message?
sid-io-audio: flushing buffers on tx close
That would indicate that insufficient polling was performed to fully
drain the output buffer. While the "tx-pending" pin/attribute is
non-zero, the driver .exp file should tickle the component's "poll"
pin periodically, before finally turning off "tx-mode".
Unfortunately, I don't have any sound cards of small enough tx
capacity to test this the easiest possible way. :-)
- FChE