Sorry. I think I might got false result (didn't delete previous .o files). This is the real problem: digiio_rtaudio.cpp:482: error: ‘class RtAudio’ has no member named ‘setStreamCallback’ digiio_rtaudio.cpp:483: error: ‘class RtAudio’ has no member named ‘setStreamCallback’ digiio_rtaudio.cpp:487: error: ‘class RtAudio’ has no member named ‘setStreamCallback’ digiio_rtaudio.cpp:491: error: ‘class RtError’ has no member named ‘getMessageString’ digiio_rtaudio.cpp: In static member function ‘static long unsigned int Digitalio::tick()’: digiio_rtaudio.cpp:773: error: ‘class RtAudio’ has no member named ‘tickStream’ digiio_rtaudio.cpp: In static member function ‘static void Digitalio::shutdown()’: digiio_rtaudio.cpp:800: error: ‘class RtAudio’ has no member named ‘cancelStreamCallback’ digiio_rtaudio.cpp: In member function ‘long unsigned int DigitalOut::initialize()’: digiio_rtaudio.cpp:852: error: ‘class RtAudio’ has no member named ‘getStreamBuffer’ digiio_rtaudio.cpp: In member function ‘long unsigned int DigitalIn::initialize()’: digiio_rtaudio.cpp:1042: error: ‘class RtAudio’ has no member named ‘getStreamBuffer’ make[1]: *** [digiio_rtaudio.o] Error 1 make: [osx] Error 2 (ignored) So, I'll look into new RtAudio classes and will try to rewrite digiio_rtaudio.cpp. On 24.7.2011, at 12:55, Hans Aberg wrote:
[If you don't cc the list, others can't follow the issue.]
On 24 Jul 2011, at 12:43, Jonas Zeleninsky wrote:
Well, should work but it's not. Same issue with sample rate persists. Trying to locate the problem now, but I'm really just C beginner at moment.
Happy hacking!
Hans
On 24.7.2011, at 12:39, Hans Aberg wrote:
On 24 Jul 2011, at 12:16, Jonas Zeleninsky wrote:
Good morning (here)
so I tried little experiment, downloaded 4.0.8 version of RtAudio, replaced the old rtaudio.cpp, rtaudio.h and rterror.h with new ones and tried to recompile it again (make osx) I found some stuff (maybe) relating to the issue:
rtaudio.cpp: In member function ‘virtual void RtApiCore::initialize()’: rtaudio.cpp:1646: warning: ‘AudioHardwareGetPropertyInfo’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:1249)
Drop a note to the author of RTAudio: it looks as though it calls stuff in CoreAudio that has been marked deprecated, so the package should be updated. Since you only got a warning it might work for now.
Hans