Re: Loop Audio on iPhone
Re: Loop Audio on iPhone
- Subject: Re: Loop Audio on iPhone
- From: Marco Papa <email@hidden>
- Date: Sat, 14 Feb 2009 13:00:39 -0800
Go to your Mac at:
/Developer/Examples/CoreAudio/AudioCodecs
You'll see the FLAc.xcodeproj
Go into:
/Developer/Examples/CoreAudio/AudioCodecs/Codes/Flac
Look in the instrctions in the README.txt, which I repeat here:
***************************
21 February 2008
Before building the FLAC project one must download the most recent sources (as of this writing version 1.2.1) from:
Go to "Source code" heading and click on the "FLAC full source code" link.
Once the sources are downloaded, copy the include and src/libFLAC directories to AudioCodecs/Codec/FLAC/.
At ths point, the only thing that needs to be done is to define the version for format.c. The easiest way to do this is to add these lines to format.c before the FLAC__VERSION_STRING is defined:
#ifndef VERSION
#define VERSION "1.2.1"
#endif
At this point the project should build. Take the resulting FLAC.component and put it in /Library/Components. You now have a working FLAC encoder and decoder on the system.
***************************
As per the instructions above, the file to download is:
or:
Date: Sat, 14 Feb 2009 11:10:32 -0800
From: Jens Alfke <email@hidden>
Subject: Re: Loop Audio on iPhone
To: mm w <email@hidden>
Cc: CoreAudio API <email@hidden>
Message-ID: <email@hidden">email@hidden>
Content-Type: text/plain; charset="windows-1252"
On Feb 14, 2009, at 10:17 AM, mm w wrote:
> Hi Brian what do you mean "I cannot see it on the",
> flac-1.2.1/src/libFLAC
That's just the raw cross-platform source code. Brian's asking for the
FLAC library built into a CoreAudio-compatible codec plugin, as
described by Bill Stewart:
>> We have posted FLAC versions of Audio Codecs on their web site - so
>> this
>> format (file and data) can be used with the rest of the core audio
>> API set
There are some Mac OS X binary packages available on the Downloads
page of the FLAC website, but it's not clear what exactly they
install. I downloaded FLAC tools for OS X, which is an Installer
package, but it just installs a regular dylib in /usr/local. (It's
also not the latest version — 1.1.4 vs 1.2.1 — which makes me worry
about the security vulnerabilities found in the codec about a year ago.)
—Jens
--
Marco Papa, Ph.D.
Computer Science Department
University of Southern California
Henry Salvatori Computer Center
Los Angeles, California 90089-0781
Voice: +1-213-974-2137
Cell: +1-310-944-5468
E-mail:
email@hidden
_______________________________________________
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