-
-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Exception #76
Comments
Hmm... I have not seen this before. Has anyone else seen this? |
You can reproduce the exception, by updating the waveform very fast with different sounds. |
Are you talking about updating the asset while the waveform is rendering? |
I do not know for sure, i have 9 pads, each pad has a sound assigned, when i press a pad i update the waveform (one view) according to the sound assigned to that pad, if i press just one pad repeatedly very fast, it works fine, if i start multitouching, firing many pads at the same time (updating one instance of FDWaveFormView), it crashes, what i am thinking of right now as a workaround is to implement some kind of logic in the delegate callbacks or create an instance of FDWaveFormView for each pad to see if it is an issue of concurrence, or sending a nil asset to clean before rendering maybe. |
Also have that bug ((( |
As a quick fix that helped reader.canAdd(readerOutput) == true. That is preventing crash. |
Hello all, I moved the I believe this should fix the problem. If not, could you please reopen. |
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '*** -[AVAssetReader addOutput:] cannot add an output that has already been added to another AVAssetReader'
I use the pod for a sampler app, where you shot many sounds quickly and update the wave form analyzer, from time to time i got that exception, let me paste where it did happen:
The text was updated successfully, but these errors were encountered: