[Csnd] error passing rtaudio=jack to csound->Compile, doesn't try to use jack
Date | 2011-12-22 05:36 |
From | Iain Duncan |
Subject | [Csnd] error passing rtaudio=jack to csound->Compile, doesn't try to use jack |
I'm experimenting with getting the csound API to play happily with jack, and am having a strange error. If my test app has the following: int result = cs->Compile(argc, argv);
And I call it with: ./csoundAPItest -+rtaudio=jack -odac -b64 -B128 monosynth5.orc monosynth5.sco it works fine and audio goes out over jack. But if I have this:
char *csArgs[6] = {"-+rtaudio=jack", "-odac", "-b64", "-B128", "monosynth5.orc", "monosynth5.sco"}; int result = cs->Compile( 6, csArgs); It doesn't use jack and tries to play it with Portaudio ( which I don't even have installed ), terminal session below. Anyone have any clue why? Thanks
Iain iain@musicbox:~/audio/csound_api/simple_test$ ./csoundAPItest
time resolution is 1000.000 ns 0dBFS level = 32768.0 Csound version 5.13 beta (float samples) Dec 20 2011 libsndfile-1.0.20 orchname: monosynth5.orc scorename: monosynth5.sco orch compiler: Macro definition for ON Macro definition for OFF 264 (265) lines read instr 1 instr 2 LABELS list is full...extending to 10 Elapsed time at end of orchestra compile: real: 0.002s, CPU: 0.010s sorting score ... ... done Elapsed time at end of score sort: real: 0.002s, CPU: 0.010s Csound version 5.13 beta (float samples) Dec 20 2011 graphics not supported on this terminal, ascii substituted 0dBFS level = 32768.0 orch now loaded audio buffered in 64 sample-frame blocks *** error: unknown rtaudio module: 'PortAudio' Failed to initialise real time audio output inactive allocs returned to freespace end of score. overall amps: 0.0 0.0 overall samples out of range: 0 0 1 errors in performance Elapsed time at end of performance: real: 0.253s, CPU: 0.010s Removing temporary file /tmp/csound-KO25QX.srt ... |