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

Problem With EZAudioPlayFile Example IOS7 #15

Closed
ghost opened this issue Jan 19, 2014 · 9 comments
Closed

Problem With EZAudioPlayFile Example IOS7 #15

ghost opened this issue Jan 19, 2014 · 9 comments

Comments

@ghost
Copy link

ghost commented Jan 19, 2014

Hi There,
This is a great library....
However when I run the example on a IPAD, it regularly crashes.
Often it shows: CrashIfClientProvidedBogusAudioBufferList

Any ideas would be great :)

Also, how would one reset the audio plot?

Keep up the good work :)

Josh

@syedhali
Copy link
Owner

Hello! Thanks for sending over the issue, I took a look at it and found the issue in the EZOutput (has to do with how I'm freeing those AudioBufferLists when the EZOutput is done with it to prevent memory leaks). I'm testing out the tweaks tonight so the changes should be on the master branch sometime tomorrow.

@syedhali
Copy link
Owner

Alright I tweaked the master branch with the changes to the EZOutput and the EZAudioPlayFileExample projects for iOS and OSX to prevent the crash due to the CrashIfClientProvidedBogusAudioBufferList err. I tested it on my iPad, iPhone, and Mac and verified it's working (wasn't working before). Let me know if the EZAudioPlayFileExample projects on the master branch are working for you and I'll update the Cocoapod.

@ghost
Copy link
Author

ghost commented Jan 23, 2014

HI,
Thank you so much for the swift fix. However now, I am getting this error when running the app on a device:
Error: Failed to read audio data from audio file (-50)

I have tried various formats, and all result in this error.

Kind Regards

Josh

@prisonerjohn
Copy link

Hey,
I'm getting the same error in the EZAudioPlayFileExample, but I'm on iOS 6. I'm just trying with the example WAV file. Any updates on this?
Thanks!

@syedhali
Copy link
Owner

Hey guys, sorry for the delayed response.

I've figured out what the (bigger) issue was and I'm refactoring the EZOutput and EZAudioFile to better solve the underlying issue under the hood. I'll be pushing the fix live tomorrow night when I've done a little testing. Thanks for bearing with me!

@syedhali
Copy link
Owner

Hey @prisonerjohn and @littlebearuk, I updated the EZAudio source last night so this issue should be resolved. Please let me know when you get a chance to try out the EZAudioPlayFileExample!

@syedhali
Copy link
Owner

syedhali commented Mar 6, 2014

This should be working after the last refactor - please let me know if it's still an issue in a new ticket

@syedhali syedhali closed this as completed Mar 6, 2014
@prisonerjohn
Copy link

Hey Haris,
Sorry I haven't had a chance to test yet. I'll let you know when I do!

Elie

On Thu, Mar 6, 2014 at 12:28 AM, Syed Haris Ali notifications@github.comwrote:

Closed #15 #15.


Reply to this email directly or view it on GitHubhttps://github.com//issues/15
.

@tspecht
Copy link

tspecht commented Sep 15, 2014

I still experience the EXC_BAD_ACCESS with CrashIfClientProvidedBogusAudioBufferList. Any updates or hints on how to resolve this?

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

3 participants