search for: feeddatatocodec

Displaying 2 results from an estimated 2 matches for "feeddatatocodec".

2004 Sep 10
1
Decoding without read callbacks.
Thanks for the reply, But that still tries to read for itself from libogg... i need to be able to feed data only... it can never try and read for itself. That code is still trying to control the data flow. Basicly i need to operate like this. SetupCodec when i have data to give to the codec FeedDataToCodec(data) //Receive a bunch of callbacks somewhere returning me pcm data //Codec waits for more data and doesn't reset itself. I will always give it a complete ogg packet as a buffer (but not in an oggpacket struct because directshow uses a different sample structure.) and size. And i need i...
2004 Sep 10
3
Decoding without read callbacks.
Hey i've recently written some directshow filters for ogg vorbis and speex (www.illiminable.com/ogg/) and i thought i might add flac too... i've had a quick look at the C++ api and it appears that the decoding works by having a read callback to get it's data. In directshow everything is pushed into the decoder it can't ask for data when it wants... i'm just wondering if there