<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">We are trying to port FLAC-1.2.1 decoder
on a trimmed down MontaVista Linux Kernel. This means that we will not
be able to support Callbacks in our program. The decoder needs to simply
read flac encoded data from a file, decode it, and play write the decoded
PCM to the sound driver for playing it.</font>
<br><font size=2 face="sans-serif">I am looking to make a very simple application
which uses the libFLAC.lib static library and calls the following functions
to do this task:</font>
<br><font size=2 face="sans-serif">- FLAC__stream_decoder_new</font>
<br><font size=2 face="sans-serif">- FLAC__stream_decoder_set_md5_checking</font>
<br><font size=2 face="sans-serif">- FLAC__stream_decoder_init_FILE</font>
<br><font size=2 face="sans-serif">- FLAC__stream_decoder_process_single
(inside a while&lt;no. of frames&gt; loop)</font>
<br><font size=2 face="sans-serif">- FLAC__stream_decoder_delete</font>
<br>
<br><font size=2 face="sans-serif">All of this happens without resorting
to callbacks. Even though it seems from the documentation that this is
a possibility with the given APIs, I am not able to make it work. Does
anyone have any ideas about how I should go about doing this?</font>
<br>
<br><font size=2 face="sans-serif">Any help will be greatly appreciated!</font>
<br>
<br>
<br><font size=2 face="sans-serif">Thanks &amp; regards,</font>
<br><font size=2 face="sans-serif">Ruchir</font>
<br><font size=2 face="sans-serif">System Engineer, Innovation Labs, </font>
<br><font size=2 face="sans-serif">TATA Consultancy Services, Kolkata</font><pre>=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


</pre>