Code Monkey home page Code Monkey logo

Comments (4)

alexbw avatar alexbw commented on July 26, 2024

Oversight on my part, caught red-handed.

On Thursday, July 5, 2012 at 4:41 PM, Morgan Packard wrote:

When I get a minute and some git skills I can take care of this, but is there any reason you're not running that ExtAudioFileSetProperty through CheckError? Looks like that's where my recording is currently failing. I've been mucking with AudioFileWriter.m, so it's possible I caused the error. But wrapping ExtAudioFileSetProperty would catch the error at least.


Reply to this email directly or view it on GitHub:
#19

from novocaine.

morganpackard avatar morganpackard commented on July 26, 2024

That's what open sourcing your software is all about, right? Inviting
people to catch you red handed.

Looks like my latest 6-hours-of-my-life-gone stumble is related to my
setting the audio session category. I get some codec-related error when
setting that property

Morgans-MacBook-Pro:loops morganpackard$ grep -r '66672'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/System/Library/Frameworks/AudioToolbox.framework
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioQueue.h:
kAudioQueueErr_InvalidCodecAccess = -66672,

Looking at the header itself, there's a note saying that some codecs may
not be available for certain audio session categories.

This isn't a super easy thing to idiot-proof. But it might be possible to
make it more idiot-resistant.

-m-

On Thu, Jul 5, 2012 at 4:46 PM, Alex Wiltschko <
[email protected]

wrote:

Oversight on my part, caught red-handed.

On Thursday, July 5, 2012 at 4:41 PM, Morgan Packard wrote:

When I get a minute and some git skills I can take care of this, but is
there any reason you're not running that ExtAudioFileSetProperty through
CheckError? Looks like that's where my recording is currently failing. I've
been mucking with AudioFileWriter.m, so it's possible I caused the error.
But wrapping ExtAudioFileSetProperty would catch the error at least.


Reply to this email directly or view it on GitHub:
#19


Reply to this email directly or view it on GitHub:
#19 (comment)

Morgan Packard
cell: (720) 891-0122
aim: mpackardatwork
twitter: @morganpackard

from novocaine.

alexbw avatar alexbw commented on July 26, 2024

Make sure to grab the newest commit, some memory leak issues have been corrected by Michael Romero, so any further proofing on AudioFileWriter/*Reader should happen on top of those changes, methinks.

from novocaine.

alexbw avatar alexbw commented on July 26, 2024

@morganpackard, is this still an issue?

from novocaine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.