• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ExtAudioFileSetProperty 'perm' error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ExtAudioFileSetProperty 'perm' error


  • Subject: Re: ExtAudioFileSetProperty 'perm' error
  • From: Evan Olcott <email@hidden>
  • Date: Sat, 17 Jan 2009 14:39:42 -0600


On Jan 17, 2009, at 2:34 PM, patrick machielse wrote:

Evan wrote:

Under what circumstances should I get a 'perm' error return from
calling ExtAudioFileSetProperty for the
kExtAudioFileProperty_ClientDataFormat property in iPhone OS 2.2?

The error is not documented anywhere, and I'm not sure where to begin
to place the blame.

Yes, tracing back fourchar error codes can be a bit of a pain. In this case -- making a wild guess -- I would suspect a 'perm'ission error; trying to modify a file for which you do not have write permission. On the phone that would be any file outside of your app's sandbox...


Nah, it's not that... I'm only opening a file for reading, I'm not doing any writing (not that that is specifically set anywhere, but I'm not *creating* or *modifying* a file in this case).

The audio file is in my app bundle and it's staying there, all I'm trying to do is decode it to canonical format.

What's even more puzzling is that I get the error while trying to set the *client data format* - the format that I want to read the file out as, and I don't think that has any kind of "permissions" attached to it...


Ev Technical Knowledge Officer Head Programmer/Designer Audiofile Engineering

http://www.audiofile-engineering.com/






_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: ExtAudioFileSetProperty 'perm' error
      • From: Doug Wyatt <email@hidden>
References: 
 >Re: ExtAudioFileSetProperty 'perm' error (From: patrick machielse <email@hidden>)

  • Prev by Date: Re: ExtAudioFileSetProperty 'perm' error
  • Next by Date: Sync question about CoreAudio and DCL program callback
  • Previous by thread: Re: ExtAudioFileSetProperty 'perm' error
  • Next by thread: Re: ExtAudioFileSetProperty 'perm' error
  • Index(es):
    • Date
    • Thread