Displaying 2 results from an estimated 2 matches for "flacobjdata".
2004 Sep 10
2
Storing FLAC in Matroska
...ack)flac_DecoderWriteCallback);
FLAC__stream_decoder_set_metadata_callback(flac_file,
(FLAC__StreamDecoderMetadataCallback)flac_DecoderMetaDataCallback);
FLAC__stream_decoder_set_error_callback(flac_file,
(FLAC__StreamDecoderErrorCallback)flac_DecoderErrorCallback);
//Set our data up
flacData *flacObjData = new flacData;
flacObjData->filename = "C:\\My Music\\44.1Hz Stereo PCM_5.flac";
flacObjData->inputFile = fopen(flacObjData->filename, "rb");
flacObjData->outputFile = fopen("test.raw", "wb");
FLAC__stream_decoder_set_client_data(flac_file, (...
2004 Sep 10
2
Storing FLAC in Matroska
Hello,
I'm looking into storing FLAC audio in Matroska and I have a few
questions.
1. Can I use libflac to extract the compressed frames?
Or will I need to write up a simple file parser?
2. What is required to decode the frames?
From the docs I understand that you need the FRAME and you may need the
METADATA_BLOCK.
Thanks,
Jory Stone
jcsston@toughguy.net
Matroska, the new,