Skip to content

Calling ofxEasyFft.setup() stops all other audio running in other applications #11

@DirkBroenink

Description

@DirkBroenink

When I make a new ofxEasyFft instance and call .setup() then all other audio running on my pc stop working.

Code:
shProcessFFT = new ProcessFFT();
shProcessFFT->setup();

When taking a closer look in the source code I find that it happens specifically on this line:
audio ->openStream( (nOutputChannels>0)?&outputParameters:NULL, (nInputChannels>0)?&inputParameters:NULL, RTAUDIO_FLOAT32,
sampleRate, &bufferFrames, &rtAudioCallback, this, &options);

Line 128, ofRtAudioSoundStream.cpp

I need audio to work in other applications while running my code. Does anyone know why this is happening and/or how to stop it from happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions