From mboxrd@z Thu Jan 1 00:00:00 1970 From: fche@redhat.com (Frank Ch. Eigler) To: bje@redhat.com (Ben Elliston) Cc: sid@sources.redhat.com Subject: Re: sidcomp.audio test failure Date: Fri, 13 Jul 2001 04:53:00 -0000 Message-id: References: <15182.36386.608754.484771.cygnus.project.sid@scooby.brisbane.redhat.com> X-SW-Source: 2001-q3/msg00009.html 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