Displaying 3 results from an estimated 3 matches for "flac__stream_decoder_reset".
2004 Sep 10
2
FLAC__stream_decoder_flush
Hi,
The FLAC__stream_decoder_flush doesn't change the state, but when I play a
stream and reach the end I have to do a FLAC__stream_decoder_reset and reread
the metadata instead of simply a FLAC__stream_decoder_flush. This is because the
stream state, which indicates the end of the stream, is not changed. Is there a
reason, for the state not being reset to
FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC, when flush is called and the state
is FLAC...
2004 Sep 10
1
FLAC__stream_decoder_flush
OK, back to this one...
--- Josh Coalson <xflac@yahoo.com> wrote:
> --- Ingo Ralf Blum <ingoralfblum@gmx.de> wrote:
> > The FLAC__stream_decoder_flush doesn't change the state, but when I
> > play a
> > stream and reach the end I have to do a FLAC__stream_decoder_reset
> > and reread
> > the metadata instead of simply a FLAC__stream_decoder_flush. This
> is
> > because the
> > stream state, which indicates the end of the stream, is not
> changed.
> > Is there a
> > reason, for the state not being reset to
> > FLAC__...
2012 May 05
5
[PATCH] Optionally, allow distros to use openssl for MD5 verification
...f(decoder->private_->has_seek_table && 0 != decoder->private_->seek_table.data.seek_table.points) {
free(decoder->private_->seek_table.data.seek_table.points);
decoder->private_->seek_table.data.seek_table.points = 0;
@@ -1018,11 +1030,15 @@ FLAC_API FLAC__bool FLAC__stream_decoder_reset(FLAC__StreamDecoder *decoder)
* FLAC__stream_decoder_finish() to make sure things are always cleaned up
* properly.
*/
- FLAC__MD5Init(&decoder->private_->md5context);
+ decoder->private_->first_frame_offset = 0;
- decoder->private_->first_frame_offset = 0;
- dec...