Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run ofxPd’s Example #97

Open
tomo0407 opened this issue Jan 29, 2024 · 2 comments
Open

Cannot run ofxPd’s Example #97

tomo0407 opened this issue Jan 29, 2024 · 2 comments

Comments

@tomo0407
Copy link

Thank you for developing this wonderful addon. I am trying to use this Addon under MacOS=12.7.2, Xcode=14.2, of=0.12.0.
When I run the Example project provided in the add-on, it builds, but I get the following error.
com.apple.audio.IOThread.client (8): EXC_BAD_ACCESS (code=1, address=0x38)
The following image is a screenshot of Xcode with the error.
スクリーンショット 2024-01-29 21 06 01
After some investigation, I thought the cause was around AudioDevice, so I commented out the following section in ofApp.cpp.
void ofApp::setup() { .... // setup OF sound stream ofSoundStreamSettings settings; settings.numInputChannels = 1; settings.numOutputChannels = 2; settings.sampleRate = 44100; settings.bufferSize = ofxPd::blockSize() * ticksPerBuffer; //settings.setInListener(this); ← I commented out ! //settings.setOutListener(this); ← I commented out ! ofSoundStreamSetup(settings); ... }
Then, while there were no memory access errors, there was no audio output from PureData.
The following image is a screenshot of Xcode when run with some ofSoundStreamSettings settings commented out.
スクリーンショット 2024-01-29 21 17 16
Do you know a solution to this error?

@danomatika
Copy link
Owner

danomatika commented Jan 29, 2024 via email

@danomatika
Copy link
Owner

Any updates on this? If not, please close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants