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

Matthew DeNardo matt_denardo at yahoo.com
Fri Nov 11 23:07:44 PST 2005


Hi everyone,

I'm still new at this audio development thing in OSX
as all of my prior experience is in database
applications. I'm also new to C++ and the Xcode
environment, which makes things interesting as I
learn.

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.

I think I want to use the file decoder class so I can
just pass it the name of the FLAC file I want to play
and use new, init, set and process_until_end_of_file
functions to do what I need. I have an idea of how
this will work in my head, but am having trouble
translating it to code. I also am having trouble
figuring out how this will hook back in to the
existing application.

I'm sure one of you with more experience can push me
in the right direction. I want to learn to do it
myself, but I also don't want to spin my wheels for
months at a time (as I have been, since I only do this
in my spare time) without signs of progress.

Thanks,
Matt


		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com


More information about the Flac mailing list