@nzfs wrote:
hi, im using jack as the audio api so i can route audio from another software to of. im using ofSoundStramSettings and setApi():
void ofApp::setup(){ ofSoundStreamSettings settings; settings.setApi(ofSoundDevice::Api::JACK); auto devices = soundStream.getDeviceList(); settings.setInDevice(devices[1]); settings.setInListener(this); settings.sampleRate = sampleRate; settings.bufferSize = bufferSize; settings.numInputChannels = 2; settings.numOutputChannels = 0; soundStream.setup(settings); }
it works, but not all the time… sometimes the app starts and crashes.
once it starts with no problems, everything works fine…
any idea what can be causing this problem? when it crashed i get this error:C:\Users\fonse\Documents\of\apps\myApps\nzfs_live\bin\nzfs_live.exe (process 24740) exited with code -1073740940. Press any key to close this window . . .
thanks!
Posts: 1
Participants: 1