Displaying 1 result from an estimated 1 matches for "__initialise_flac_decoder".
2004 Oct 09
1
Ogg encapsulation...
...data
flow and the seeking etc. the codecs can't just say "Give me more data"...
because there may not be any data ready yet, or the data may be being
withheld for various reasons.
It would also make it much easier to integrate with something like
libfishsound.
ie something like
__initialise_flac_decoder(ALL_THE_HEADERS inHeaders);
__set_decoded_callback(CALL_ME_HERE_WITH_THE_DECODED_AUDIO inCB);
__feed_flac_data(SOME_FLAC_DATA inData, BOOL inSendMeAudioYet);
Then if a full frame ins't passed in... it just waits on the data to
complete it, instead of calling a read callback... if more than on...