Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

ofSoundStream not working as expected

$
0
0

@superdude wrote:

Hi there. I'm still trying to find a solution to this problem, but I wanted to post in case anyone has an insight.

I'm using Linux (Manjaro) and QTCreator with OF 0.9.2.

I'm working with audio, specifically ofxMaxim. At the end of setup, when I call any of the following:

soundStream.setup(settings);
// Where soundStream is an ofSoundStream object and settings is an
// ofSoundStreamSettings object)

ofSoundStreamSetup(2,2, this, sampleRate, initialBufferSize, 4);/* Call this last ! */@@

ofSoundStreamSetup(2,2,this);

QT spits out:

Starting /home/tollie/Development/openFrameworks/apps/Audio/voiceAnalyserII/bin/voiceAnalyserII_debug...
The program has unexpectedly finished.> /home/tollie/Development/openFrameworks/apps/Audio/voiceAnalyserII/bin/voiceAnalyserII_debug crashed

Otherwise it compiles fine, provided I comment out any audio thread activity.

I'm currently thinking maybe I have an issue with the RTAudio library?

Not sure..

Anyway, cheers all,

Leon

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles