-
Notifications
You must be signed in to change notification settings - Fork 45
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
Comments
Look in your Xcode Build Settings for the Other CFlags variable and remove PDINSTANCE if it's there, then clean and rebuild.enohp ym morf tnes-----------Dan Wilcoxdanomatika.comrobotcowboy.comOn Jan 29, 2024, at 3:40 PM, tomo0407 ***@***.***> wrote:
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.png (view on web)
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.png (view on web)
Do you know a solution to this error?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
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
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.
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.
Do you know a solution to this error?
The text was updated successfully, but these errors were encountered: