eci_init() fails on MIPS
Alessandro Ghedini <[email protected]> Sun, 26 Jan 2014 14:54:32 +0100
| Newsgroups | gmane.comp.audio.ecasound.general |
|---|---|
| Message-ID | <20140126135432.GA13984@kronk> |
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecasound-list
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJS5ROUAAoJEK+lG9bN5XPLjsEP/iGJ3cpux+KrlpyUdMSZgQgG 9j3nL6jPRKbqLlezHqJ/iXuhOxD5wVVZor4Zv98dd/9MksDplqc9h6Ztmn47j+78 CbhPJ2/A2o9xE99GTjXq0Q07AA9/dABsZJUzTWRWPWr9ucTZLr5jApj5m6sK1HpK iCfI2LFPIGhG4x5TDYo1bfPJdH871xCUblBKIj64LB1yXkLPzPQisahDStB2qs7s Gsf4WxnLXYLdyPI10qTcajg6eVs6TaTpgtdQxPHjL19kUBHH76hg+OAE9b9Vpbuc yKCM7RtMHiSBfZb49vgYvH8+/RY2wYbizuSQfTjywGmEmqcvujxTfcmxwUbntRcc 1YoHTWS9sod2TAfVacxOr+e0zSrr555VwFFB/9VtkST3/FVG0Ebjt1mUJ0qkSWvS /Ftw91kq+8a/WOQroE7nG2Uc6lZR9aWIYA2w+yKECZkDz+PktubIN4Y11nL8c0Hu xBimFRnJareUK+vYp9nVdL6vV8MurybtiewAHutxTgJ5RUCHWSi+0jlfNwkxhMBX dv8Pqp2d/XaNSLqs9Fveo6AwvEj7qg24yB5PxSs6eJF4Q71AAH2ikccLMloVPnzg zWUqAGj2OyK4DdNguWNQZmzW3rvXjwMKY/l8zwsAtPfQW33vV9AWM16ay9jCI4UF 5dW9pnGCQHsyFjqJcD0W =JIEk -----END PGP SIGNATURE-----