[Flac-dev] Decoding without read callbacks.
illiminable
ogg at illiminable.com
Wed Mar 24 11:22:13 PST 2004
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 it to process the data i give it and then wait until i give
it some more. There is no way the codec can read data unless i give it to
it.
And incidentally i use my own demuxer written in C++ and not libogg. So i
have none of the data normal ogg data structures.
Thanks !
----- Original Message -----
From: "Josh Coalson" <xflac at yahoo.com>
To: "illiminable K" <illiminable at westnet.com.au>;
<flac-dev at lists.sourceforge.net>
Sent: Thursday, March 25, 2004 2:56 AM
Subject: Re: [Flac-dev] Decoding without read callbacks.
> P.S. that was for native FLAC, for Ogg FLAC it will be clear
> from the Ogg layer how big the packet is (one packet = 1 FLAC
> frame).
>
> Josh
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance Tax Center - File online. File on time.
> http://taxes.yahoo.com/filing.html
>
More information about the Flac-dev
mailing list