[chuck-users] chuck on os x 10.7 (lion)

Jonas Zeleninsky mrqwaxgo at gmail.com
Sun Jul 24 10:26:37 EDT 2011


So, after compiling newest RtAudio by itself and "audioprobe" test program, it seems that it has no problem with samplerates:

$ ./audioprobe 

Compiled APIs:
  OS-X Core Audio

Current API: OS-X Core Audio

Found 4 device(s) ...

Device Name = Apple Inc.: Built-in Input
Probe Status = Successful
Output Channels = 0
Input Channels = 2
Duplex Channels = 0
This is NOT the default output device.
This is the default input device.
Natively supported data formats:
  32-bit float
Supported sample rates = 8000 9600 11025 16000 22050 32000 44100 48000 88200 96000 

Device Name = Apple Inc.: Built-in Output
Probe Status = Successful
Output Channels = 2
Input Channels = 0
Duplex Channels = 0
This is the default output device.
This is NOT the default input device.
Natively supported data formats:
  32-bit float
Supported sample rates = 44100 48000 88200 96000 

I wrote an e-mail to RtAudio developer and I am currently waiting for his response. Looks like the part which needs to be rewritten is bigger then I thought.

Regards,

Jonas

On 24.7.2011, at 13:09, Jonas Zeleninsky wrote:

> 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
>>>> 
>>>> 
>>> 
>> 
> 



More information about the chuck-users mailing list