Re: ExtAudioFile how-to question
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