We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using the experimental Branch:
With ofxSoundPlayerObject:
no of these work does not work anymore:
- players[id]->instances[0].id = i; //used to work players[i]->instances[0].setId(i); players[i]->setId(i);
How do you set ID so that a player[i]->endEvent gets called?
player[i]->endEvent
The text was updated successfully, but these errors were encountered:
Hi Stephan, I made the instances to be private. Is that the problem? otherwise I can still set the id and the event gets triggered
Sorry, something went wrong.
ofxSoundPlayerObject needs some way to setId, otherwise endEvent won't know which to react to. No?
I just added the following functions to ofxSoundPlayerObject
ofxSingleSoundPlayer& getPlayInstance(size_t index); const ofxSingleSoundPlayer& getPlayInstance(size_t index) const; size_t getNumPlayInstances() const;
so you can do something as players[i]->getPlayInstance(0).setId(i);
players[i]->getPlayInstance(0).setId(i);
No branches or pull requests
Using the experimental Branch:
With ofxSoundPlayerObject:
no of these work does not work anymore:
How do you set ID so that a
player[i]->endEvent
gets called?The text was updated successfully, but these errors were encountered: