• 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: trouble creating working Apple Lossless file under iOS 3.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trouble creating working Apple Lossless file under iOS 3.2


  • Subject: Re: trouble creating working Apple Lossless file under iOS 3.2
  • From: Christopher Penrose <email@hidden>
  • Date: Fri, 5 Nov 2010 10:24:39 -0700
  • Resent-date: Fri, 5 Nov 2010 10:36:35 -0700
  • Resent-from: Christopher Penrose <email@hidden>
  • Resent-message-id: <email@hidden>
  • Resent-to: "email@hidden API" <email@hidden>


Thanks for the help.  Before my first post I had tried using kAudioFileM4AType with a "m4a" file extension, and using kAudioFileCAFType with a "caf" file extension.  Since reading your posts I tried using kAudioFileMPEG4Type for the transport and the ExtAudioFileCreateWithURL() call failed.  So I took the advice that I thought would be least successful, simply change the file extension of a kAudioFileM4AType file I had made from "m4a" to "mp4", and, voila, the sound plays.  However, shouldn't it work with an "m4a" extension?  iTunes creates files with this extension and I thought it was explicitly associated with the kAudioFileM4AType (especially since "m4a" is in its title).  The MacOS X finder also labels these playable audio files with an "mp4" extension as "movies".  Is there something else I need to do to make a playable file with an "m4a" file extension?

Best,  Christopher

----------------------------------------
Sent from my Antonov An-225

On Nov 5, 2010, at 1:10 AM, Aran Mulholland wrote:

I had similar issues writing audio files as .aac, so i named the files as .mp4 and they worked fine (they now play from finder etc.), example project for writing output of an AUGraph to a file here - https://github.com/aranm/iPhone-ExtAudioFile-Record

On Fri, Nov 5, 2010 at 6:59 PM, Ian Esten <email@hidden> wrote:
ALAC data can be written to either CAF or Apple MPEG-4 audio formats. Perhaps if you switch to MPEG-4 you will get files that Quicktime and iTunes can play. I experienced the same problem with AAC data - Quicktime and iTunes would not play the files I created, but AFConvert could convert them back to PCM no problem.

Ian



 _______________________________________________
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

References: 
 >afinfo (From: email@hidden <email@hidden>)
 >Re: afinfo (From: Jean-Daniel Dupas <email@hidden>)
 >Re: afinfo (From: Robert Martin <email@hidden>)
 >trouble creating working Apple Lossless file under iOS 3.2 (From: Christopher Penrose <email@hidden>)
 >Re: trouble creating working Apple Lossless file under iOS 3.2 (From: Ian Esten <email@hidden>)
 >Re: trouble creating working Apple Lossless file under iOS 3.2 (From: Aran Mulholland <email@hidden>)

  • Prev by Date: AUEffectBase and UI communication
  • Next by Date: Re: AUEffectBase and UI communication
  • Previous by thread: Re: trouble creating working Apple Lossless file under iOS 3.2
  • Next by thread: Re: trouble creating working Apple Lossless file under iOS 3.2
  • Index(es):
    • Date
    • Thread