1 Dec 2005 18:39
eca-control-interface and ecasound console
Pedro Antonio Fructuoso Merino <pfructuoso <at> facthor.net>
2005-12-01 17:39:59 GMT
2005-12-01 17:39:59 GMT
Hi all,
I`m writing a c++ player based on ecasound. I`m using jack output
but it paused over 0.5 s when I add a chain operator. I tried the same
commad on a ecasound console and work fine! Someone now wath could be
happen? I paste my code and ecasound console output. Regards:
Pedro
#include <eca-control-interface.h>
#include <iostream>
int main( int argc, char ** argv )
{
ECA_CONTROL_INTERFACE ecaplayer;
ecaplayer.command("cs-add play_chainsetup");
ecaplayer.command("c-add 1st_chain");
ecaplayer.command("cs-set-param -G:jack,ecasound,notransport");
ecaplayer.command("cs-set-param -B:nonrt");
ecaplayer.command("ai-add song.mp3");
ecaplayer.command("ao-add jack");
ecaplayer.command("cs-connect");
std::cout << "start" << std::endl;
ecaplayer.command("start");
sleep(3);
(Continue reading)
RSS Feed