[Tremor] Tremor API
Gavin Chen
gavin_chen1980 at yahoo.com.cn
Mon Oct 25 00:42:09 PDT 2004
Hi all,
I am ready to port the Tremor low-mem branch to my portable device.
But for some restriction, I have to use an input buffer as a input parameter to the OGG deccoder.
For example,
char pBuf[1024];
short pPCM[x];
FILE *pFile = fopen(xxxx);
pBuf <---- fread(pFile), read 1k file content in binary mode;
pPCM <----- OGG_Decoder(pBuf), Decode the ogg buffer to PCM data;
output PCM;
But, current Tremor uses ov_open and ov_read to implement the decode process.
Can anyone give me some advices? Or anyone realized this?Thanks!
---------------------------------
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
美女明星应有尽有,搜遍美图、艳图和酷图
1G就是1000兆,雅虎电邮自助扩容!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/tremor/attachments/20041025/b741b69a/attachment.htm
More information about the Tremor
mailing list