• 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
ExtAudioFileOpenURL and ExtAudioFileWrapAudioFileID crashes- EXEC_BAD_ACCESS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ExtAudioFileOpenURL and ExtAudioFileWrapAudioFileID crashes- EXEC_BAD_ACCESS


  • Subject: ExtAudioFileOpenURL and ExtAudioFileWrapAudioFileID crashes- EXEC_BAD_ACCESS
  • From: Sameera Benagal <email@hidden>
  • Date: Tue, 23 Dec 2008 16:17:17 +0530

Hi,

I am developing an application in iPhone. In this application I am required to convert audio file from one format to another.  I used ExtAudioFileOpenUrl. 

Here is the code...
NSString *str = [NSString stringWithString:@"/Users/myhome/Desktop/test.caf"];
NSURL *Url = "" style="color: #5c2699">NSURL fileURLWithPath:str];
ExtAudioFileRef audio = NULL;
OSStatus ret = ExtAudioFileOpenURL((CFURLRef)Url, &audio);


But my application crashes when ExtAudioFileOpenURL executes.

I have also tried using the following..
AudioFileID fileID;
OSStatus ret = AudioFileOpenURL((CFURLRef)Url, 0X01, kAudioFileCAFType, &fileID);

ret = ExtAudioFileWrapAudioFileID(fileID, false, &audio);


My application also crashed in ExtAudioFileWrapAudioFileID...


I am just wondering whether I am doing the right thing or is it bug of ExtendedAudioFile?


Kindly guide me regarding this.


BTW i'm having iPhone 2.1


Thanks in advance

Sameera


 



 _______________________________________________
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: ExtAudioFileOpenURL and ExtAudioFileWrapAudioFileID crashes- EXEC_BAD_ACCESS
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: 10.5.6: Aggregate Device Anomalies
  • Next by Date: Changing AudioConverter sample rates on the fly
  • Previous by thread: custom midi sounds
  • Next by thread: Re: ExtAudioFileOpenURL and ExtAudioFileWrapAudioFileID crashes- EXEC_BAD_ACCESS
  • Index(es):
    • Date
    • Thread