Re: [ReZound-users] TEST: New Audio Output Code
Status: Beta
Brought to you by:
ddurham
From: Jack O'Q. <jo...@io...> - 2004-04-11 03:06:18
|
Davy Durham <dd...@us...> writes: > Alright, Jack has offered the use of his server.. Here's a link to the > latest CVS with the audio output patch applied... > > http://www.joq.us/rezound/rezound-0.9.1beta_test.tar.gz Had some trouble compiling on my Debian woody system with g++ 2.95.4. There were lots of warning messages, most but not all generated by explicit #warning directives. Then the build stopped... g++ -DHAVE_CONFIG_H -I. -I. -I../../config -I../../src/misc -I../../src/misc/missing/generated -I../../src/PoolFile -I/INSTALL/jack/include -I/INSTALL/rezound//include -I/INSTALL/rezound//include -I/INSTALL/rezound//include -I/INSTALL/rezound//include -I/INSTALL/rezound//include -g -Wall -Wno-unused -I/INSTALL/rezound//include -I/INSTALL/rezound//include -I/INSTALL/rezound//include -c CPortAudioSoundRecorder.cpp -Wp,-MD,.deps/CPortAudioSoundRecorder.TPlo CPortAudioSoundRecorder.cpp:87: warning: #warning test with some parameters that I know will fail CPortAudioSoundRecorder.cpp: In method `void CPortAudioSoundRecorder::deinitialize()': CPortAudioSoundRecorder.cpp:109: `stderr' undeclared (first use this function) CPortAudioSoundRecorder.cpp:109: (Each undeclared identifier is reported only once CPortAudioSoundRecorder.cpp:109: for each function it appears in.) CPortAudioSoundRecorder.cpp:109: implicit declaration of function `int fprintf(...)' make[3]: *** [CPortAudioSoundRecorder.lo] Error 1 make[3]: Leaving directory `/y/src/rezound-0.9.1beta_test/src/backend' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/y/src/rezound-0.9.1beta_test/src/backend' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/y/src/rezound-0.9.1beta_test/src' make: *** [all-recursive] Error 1 Adding #include <cstdio> to this file eliminates the fatal error. After that, the make completed successfully. $ rezound using path '/y/src/rezound-0.9.1beta_test/share' for share data directory Error occurred while initializing audio output method 'oss' -- void COSSSoundPlayer::initialize() -- error opening OSS device '/dev/dsp -- Device or resource busy Given `./configure --prefix=/INSTALL/rezound', the correct path should probably be something like /INSTALL/rezound/share/rezound/. How do I tell it to use JACK and not OSS? The device is presumably busy because JACK is already running. A preliminary test ran for a while playing an MP3 file through JACK and into JAMin. After a minute or so it got zombified by JACK (kicked out of the graph). Running without JAMin (which uses a lot of DSP processing cycles) it runs for much longer with JACK load levels in the 4% to 7% range. IIRC, this is much better than the results I was getting a while back. -- joq |