Displaying 1 result from an estimated 1 matches for "stream_decoder_find_metadata".
Did you mean:
stream_decoder_find_metadata_
2004 Sep 10
2
possible bug in process_metadata()
...then fails because the channels/frequency
etc. variables arn't set (it relies on process_metadata()
calling the metadataCallback() at least once with the
STREAMINFO block).
It would be nice if someone could tell me if I'm doing
something wrong or if that's a bug in libFLAC 1.02.
BTW - stream_decoder_find_metadata() returns because this
condition is true:
else if(x >> 2 == 0x3e) { /* MAGIC NUMBER for the last 6 sync bits */
decoder->private_->header_warmup[1] = (FLAC__byte)x;
decoder->protected_->state = FLAC__STREAM_DECODER_READ_FRAME;
return true;
process_metadata() then breaks out of...