• 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: ExtAudioFile how-to question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ExtAudioFile how-to question


  • Subject: Re: ExtAudioFile how-to question
  • From: "tahome izwah" <email@hidden>
  • Date: Wed, 19 Jul 2006 06:41:24 +0200

Hi Doug,

thanks for the explanation. I don't think that the copy&paste error is
that apparent: why would you *set* properties of your *input* file? I
don't see the point of this - you're opening it for reading and don't
want to mess with it, don't you?

Thanks again.
--th

PS: Sorry for sending this to your email first. It appears that either
the list or Gmail does not support proper reply-to...


On Jul 17, 2006, at 23:17 , tahome izwah wrote:
> Hi all,
>
> I need to write some plain IEE754 floating point data into an audio
> file and was thinking about using the ExtAudioFile API. Looking at the
> SimpleSDK example "ConvertFile" I have encountered some problems that
> I am unable to explain or solve. If anybody has a clue as to how I can
> make this work I would highly appreciate any help.
>
> First, the code in "UseExtAF.cpp" appears to contain bugs. For
> example, in the section following the comment "get and set the client
> format" the code uses ExtAudioFileSetProperty for both input and
> output files, while the XThrowIfError() statement refers to
> ExtAudioFileGetProperty instead. Which one should be used here??

Believe the function call, not the apparent copy-paste error in the
string that gets put in the exception.

> I
> suppose I use the "set" flavor on the output file and the "get" flavor
> on the input??
>
> Also, how do I get the code to export an MP3 file?

You can't; there's no MP3 encoder in the OS (only in iTunes).

--
Doug Wyatt
Core Audio, Apple


_______________________________________________
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: ExtAudioFile how-to question
      • From: Doug Wyatt <email@hidden>
  • Prev by Date: Re: Number of frames in Render()
  • Next by Date: Host Callback Methods and OSStatus
  • Previous by thread: Re: ExtAudioFile how-to question
  • Next by thread: Re: ExtAudioFile how-to question
  • Index(es):
    • Date
    • Thread