Hi,
the eci_init() function in libecasoundc doesn't seem to work on MIPS. The
following test case fails:
#include <stdio.h>
#include <libecasoundc/ecasoundc.h>
int main(int argc, char *argv[]) {
eci_init();
if (eci_ready() == 0) {
puts("fail");
return 1;
}
return 0;
}
with output:
(ecasoundc_sa) Error='read() error', cmd='' last_error='' cmd_cnt=1 last_cnt=0.
fail
I've pinpointed the failure to eci_impl_read_return_value() called by
eci_init_r(). Basically this check "fails" and then eci_rep gets set to NULL in
eci_init_r() becasue of the same check:
if (eci_rep->commands_counter_rep !=
eci_rep->parser_repp->last_counter_rep) {
eci_impl_dump_parser_state(eci_rep, "read() error");
eci_rep->parser_repp->sync_lost_rep = true;
}
But I'm not quite sure what it's supposed to be testing. Any help?
Cheers
-- perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
This archive was generated by hypermail 2.1.8 : Sun Jan 26 2014 - 16:15:06 EET