Re: ExtAudioFile how-to question
Re: ExtAudioFile how-to question
- Subject: Re: ExtAudioFile how-to question
- From: Doug Wyatt <email@hidden>
- Date: Tue, 18 Jul 2006 08:55:01 -0700
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