[Flac] how to include FLAC in a CoreAudio wave player

Arek Korbik arkadini at gmail.com
Sat Nov 12 14:51:37 PST 2005


On 11/12/05, Ralph Giles <giles at xiph.org> wrote:
> On Fri, Nov 11, 2005 at 11:07:44PM -0800, Matthew DeNardo wrote:
>
> > There is a CoreAudio wave player written in C++ to
> > which I would like to add FLAC playback support. I
> > have looked through the libFLAC++ API and think I have
> > an idea of what files/functions to use, but am not
> > really sure how to go about implementing them.
>
> You might take a look at http://svn.xiph.org/trunk/xiph-qt/
> which is some in-development code by Arek Korbok to add
> CoreAudio components for vorbis and speex; that might give
> you a place to start for implementing a flac component.
>
> HTH,
>  -r
>

Well, the CoreAudio FLAC component is mostly ready and working. No
need to write it. It just needs a bit of refactoring, and I will add
it to the repository soon.

If this is a CoreAudio player it probably uses CoreAudio mechanisms to
handle media(audio) files. Hence, once the CAFLAC component is
installed, it should be quite simple (using CA API, not the Ogg/FLAC
libraries/frameworks directly) to make the player use that component
for FLAC-file decompression.

Hope this helps.
Arek


More information about the Flac mailing list