On Wed, Apr 23, 2008 at 5:52 AM, Alexei Kuznetsov <eofster at gmail.com> wrote: > Hi, > > I'm using pjsua-lib from pjproject-0.8.0 and from the latest checkout > on Mac OS X 10.5.2 (Intel). With the minimum code provided below, "ps > aux" shows about 7.2 in %CPU. This is after "sound_port.c EC suspended > because of inactivity" console output. Is that the way it should be? > Probably yes. In PJSUA-LIB, sound device is always running even when there is no call active. This is something that we may change in the future. Cheers Benny > #include <pjsua-lib/pjsua.h> > > int > main(int argc, char *argv[]) > { > pjsua_create(); > pjsua_init(NULL, NULL, NULL); > pjsua_start(); > > for (;;) { > char option[10]; > > fgets(option, sizeof (option), stdin); > > if (option[0] == 'q') > break; > } > > pjsua_destroy(); > > return 0; > } > > -- > Alexei Kuznetsov > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >