--- Chris Timko <[EMAIL PROTECTED]> wrote: > My name is christopher timko. I am a senior in computer engineering > doing > work on a hardware implimentation of flac. I was curious if someone > could > help me by pointing me to section of code i need to be looking at for > the pc > version of flac. Unfortunatly, i am not that accoustomed to looking > at full c > projects, so i am kind of lost here. I found the encode function in > the main > routine under flac folder. It gets sent to the encode.c function > with a input > and output file name. I notice though that there is an all.h header > file > which i can't find in the flac directory, and some functions that i > imagine > are in the same header file. > any help would be appreciated.
the API docs have a little explanation: http://flac.sourceforge.net/api/ the flac code is hierarchicaly organized; there are libraries that implement encoding and decoding, with public exposed headers, and command-line programs that use them. any time you see: #include "something" the "something" will be looked up according to the compiler include path, which is usually ./include (.h's that are private to the program or library) then ../../include (public .h's that end up being installed in /usr/include or wherever). so the #include "FLAC/all.h" is src/flac/encode.c refers to ../../include/FLAC/all.h Josh __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Flac-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/flac-dev
