• 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: AudioFileCreateWithURL returns kAudioFilePermissionsError ('prm?')
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioFileCreateWithURL returns kAudioFilePermissionsError ('prm?')


  • Subject: Re: AudioFileCreateWithURL returns kAudioFilePermissionsError ('prm?')
  • From: Langtian Du <email@hidden>
  • Date: Mon, 26 Apr 2010 15:35:52 -0700 (PDT)

Hi Bill,

Thanks for the response. We can't reproduce this issue with our devices.
The below is the log from our customer, the first line printed the path of the file (and name), the next line is the error code.


18:25:30.671 Recordcallcont recording file=/var/mobile/Applications/F9A0D4CD-192F-46FD-B3BB-277689184659/Documents/record/mori2-hg@2010/04/26 18:25:25.caf
18:25:30.684 OngoingCall.m create audio failed!! err=70726D3F


To me, the path "/var/mobile/Applications/F9A0D4CD-192F-46FD-B3BB-277689184659/Documents/record/mori2-hg@2010/04/26 18:25:25.caf" looks good. Could this be an issue? Or could this path be read only in some case? Another customer does report after restore the device, this issue is gone.

Thanks

Langtian Du 



--- On Mon, 4/26/10, William Stewart <email@hidden> wrote:

From: William Stewart <email@hidden>
Subject: Re: AudioFileCreateWithURL returns kAudioFilePermissionsError ('prm?')
To: "Langtian Du" <email@hidden>
Cc: email@hidden
Date: Monday, April 26, 2010, 3:09 PM

it means you don't have permission to write a file at that location. If you don't think that is your problem, then can you reproduce this, and send us a bug report. As far as I know, there aren't any issues here that we know of at least.

Bill

On Apr 26, 2010, at 11:33 AM, Langtian Du wrote:

Hi,

We used AudioFileCreateWithURL to create/record a audio file on the iPhone, 
it works on the most of time. But some customers report record failed. And the log shows 
when we call AudioFileCreateWithURL, it returns 'prm?'.

We call this with kAudioFileFlags_EraseFile, so I do not see any permission issue here.
And the document also does not mention the permission issue. Anyone could help?

Thanks,


Langtian


 _______________________________________________
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: AudioFileCreateWithURL returns kAudioFilePermissionsError ('prm?')
      • From: William Stewart <email@hidden>
    • Re: AudioFileCreateWithURL returns kAudioFilePermissionsError ('prm?')
      • From: Langtian Du <email@hidden>
References: 
 >Re: AudioFileCreateWithURL returns kAudioFilePermissionsError ('prm?') (From: William Stewart <email@hidden>)

  • Prev by Date: Re: AudioFileCreateWithURL returns kAudioFilePermissionsError ('prm?')
  • Next by Date: Re: AudioFileCreateWithURL returns kAudioFilePermissionsError ('prm?')
  • Previous by thread: Re: AudioFileCreateWithURL returns kAudioFilePermissionsError ('prm?')
  • Next by thread: Re: AudioFileCreateWithURL returns kAudioFilePermissionsError ('prm?')
  • Index(es):
    • Date
    • Thread