If that’s an issue with the OF source, I’d open an issue on the OF Github repo.
Dan Wilcox @danomatika https://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
On Jun 8, 2016, at 10:24 AM, pd-list-request@lists.iem.at wrote:
I cloned openFrameworks from GitHub (https://github.com/openframeworks/openFrameworks https://github.com/openframeworks/openFrameworks) and made the following changes: In the libs/openFrameworks/sound directory, I changed lines lines 96 and 224 from ofSoundStream.h, and line 25 from ofBaseSoundStream.h, replacing UNSPECIFIED with JACK (to be honest, I'm not sure if this is really necessary). Then, in a test app with ofxPd, in testApp.h I included the following line inside the testApp class: ofSoundStream soundStream;
On Wed, Jun 8, 2016 at 6:38 PM, Dan Wilcox danomatika@gmail.com wrote:
If that’s an issue with the OF source, I’d open an issue on the OF Github repo.
As far as I understand it's not. In OF's forum I was told that OF doesn't use it's own RtAudio library any more, but the one installed in the system (at least on Linux), and the ofSoundStreamSettings class lets you choose your audio API. At first, looking through OF's forum, I tried to compile RtAudio myself and replace some files in the OF libs/rtAudio directory, but the way I finally did it seems much clearer and logical to me, so I guess it's not a bug. But maybe you know better..
And this is the OF forum thread https://forum.openframeworks.cc/t/solved-using-the-jack-audio-server-with-op...
On Wed, Jun 8, 2016 at 7:50 PM, Alexandros Drymonitis adrcki@gmail.com wrote:
On Wed, Jun 8, 2016 at 6:38 PM, Dan Wilcox danomatika@gmail.com wrote:
If that’s an issue with the OF source, I’d open an issue on the OF Github repo.
As far as I understand it's not. In OF's forum I was told that OF doesn't use it's own RtAudio library any more, but the one installed in the system (at least on Linux), and the ofSoundStreamSettings class lets you choose your audio API. At first, looking through OF's forum, I tried to compile RtAudio myself and replace some files in the OF libs/rtAudio directory, but the way I finally did it seems much clearer and logical to me, so I guess it's not a bug. But maybe you know better..
It doesn’t necessarily have to be a bug when you launch and issue. My point is more that if this is a feature that is needed, people shouldn’t have to modify the core OF source code in order to use it. At the very least, it could be a compile define like OF_RTAUDIO_JACK etc...
Dan Wilcox @danomatika https://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
On Jun 8, 2016, at 11:53 AM, Alexandros Drymonitis adrcki@gmail.com wrote:
And this is the OF forum thread https://forum.openframeworks.cc/t/solved-using-the-jack-audio-server-with-op... https://forum.openframeworks.cc/t/solved-using-the-jack-audio-server-with-openframeworks-on-linux/23615/7
On Wed, Jun 8, 2016 at 7:50 PM, Alexandros Drymonitis <adrcki@gmail.com mailto:adrcki@gmail.com> wrote:
On Wed, Jun 8, 2016 at 6:38 PM, Dan Wilcox <danomatika@gmail.com mailto:danomatika@gmail.com> wrote: If that’s an issue with the OF source, I’d open an issue on the OF Github repo. As far as I understand it's not. In OF's forum I was told that OF doesn't use it's own RtAudio library any more, but the one installed in the system (at least on Linux), and the ofSoundStreamSettings class lets you choose your audio API. At first, looking through OF's forum, I tried to compile RtAudio myself and replace some files in the OF libs/rtAudio directory, but the way I finally did it seems much clearer and logical to me, so I guess it's not a bug. But maybe you know better..
On Wed, Jun 8, 2016 at 8:07 PM, Dan Wilcox danomatika@gmail.com wrote:
It doesn’t necessarily have to be a bug when you launch and issue. My point is more that if this is a feature that is needed, people shouldn’t have to modify the core OF source code in order to use it. At the very least, it could be a compile define like OF_RTAUDIO_JACK etc...
I did have the impression that the core source code shouldn't be changed, so I just went back to ofBaseSoundStream.h and ofSoundStream.h and restored the original code (replaced JACK with UNSPECIFIED in lines 25, and 96 and 224 respctively) and recompiled a test app with ofxPd and it worked, so this change I made was not necessary. This means that this is a feature then and everything is OK. Thanks for pointing it out.