This is the mail archive of the sid@sources.redhat.com mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sidcomp.audio test failure



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]