From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Elliston To: fche@redhat.com (Frank Ch. Eigler) Cc: sid@sources.redhat.com Subject: Re: sidcomp.audio test failure Date: Fri, 13 Jul 2001 05:23:00 -0000 Message-id: <15182.59430.755993.658945@scooby.brisbane.redhat.com> References: <15182.36386.608754.484771.cygnus.project.sid@scooby.brisbane.redhat.com> X-SW-Source: 2001-q3/msg00010.html >>>>> "Frank" == Frank Ch Eigler writes: Frank> : [...] Instead, the test should perhaps keep polling the component Frank> : until it has emptied its buffer and *then* check that the Frank> : tx-sample-count is the correct value. Thoughts? [...] Frank> Yup, makes sense. Do your test logs include the following message? Frank> sid-io-audio: flushing buffers on tx close Yes. Frank> That would indicate that insufficient polling was performed to fully Frank> drain the output buffer. While the "tx-pending" pin/attribute is Frank> non-zero, the driver .exp file should tickle the component's "poll" Frank> pin periodically, before finally turning off "tx-mode". Frank> Unfortunately, I don't have any sound cards of small enough tx Frank> capacity to test this the easiest possible way. :-) You can use my system -- I will turn the speakers down. :-) Ben