FLAC Decoder on mini2440

NATH
Hi all,
       I am new to linux environment,as part of my academic project i have
to implement a free lossless audio decoder(FLAC) based on linux and arm9
platform. So i chose mini2440 board as part of my development platform and
qtopia operating system which is shipped with the board. can anyone can
guide me how to implement the decoding part of FLAC audio(encoding not
necessory).
 
 my mail id amarnath.eh@gmail.com