<DIV>Hi all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am ready to port the Tremor low-mem branch to my portable device.</DIV>
<DIV>&nbsp;</DIV>
<DIV>But for some restriction, I have to use an input buffer as a input parameter to the OGG deccoder.</DIV>
<DIV>&nbsp;</DIV>
<DIV>For example,</DIV>
<DIV>&nbsp;</DIV>
<DIV>char pBuf[1024];</DIV>
<DIV>short pPCM[x];</DIV>
<DIV>FILE *pFile = fopen(xxxx);</DIV>
<DIV>pBuf &lt;---- fread(pFile), read 1k file content in binary mode;</DIV>
<DIV>pPCM &lt;----- OGG_Decoder(pBuf), Decode the ogg buffer to PCM data;</DIV>
<DIV>output PCM;</DIV>
<DIV>&nbsp;</DIV>
<DIV>But, current Tremor uses ov_open and ov_read to implement the decode process. </DIV>
<DIV>Can anyone give me some advices? Or anyone realized this?Thanks! </DIV>
<DIV>&nbsp;</DIV><p><br><hr size=1><b>Do You Yahoo!?</b><br>
<a href="http://music.yisou.com" target=blank>150万曲MP3疯狂搜,带您闯入音乐殿堂</a><br><a href="http://image.yisou.com" target=blank>美女明星应有尽有,搜遍美图、艳图和酷图</a><br>
<a href="http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/" target=blank>1G就是1000兆,雅虎电邮自助扩容!</a>