search for: seekablestreamdecoder

Displaying 4 results from an estimated 4 matches for "seekablestreamdecoder".

2004 Sep 10
3
slow FLAC__file_decoder_seek_absolute()...
Hi, I checked the archives, but I didn't find anything regarding this problem. FLAC__file_decoder_seek_absolute takes an incredibly long time to seek. What can I do about this? How do I fix it? Here's how I'm calling the function: if (argc > 2) { secs = atoi(argv[2]); seek_point = (FLAC__uint64) secs * sample_rate; printf("seeking to %d:%02d\n", secs/60,
2004 Sep 10
2
slow FLAC__file_decoder_seek_absolute()...
...owling <crypt@phatnoise.com> wrote: > I think I figured out where the problem is. In my metadata_callback, > > I added a thing to print out the max_framesize and max_framesize from > the stream_info block. Those are both zero. The ..._seek_absolute() > > function of the SeekableStreamDecoder uses the max_framesize to guess > at where to seek. It doesn't seem to handle the case when > max_frame_size is zero very well. I'm looking at > seekable_stream_decoder.c, by the way. > > > The files I am playing were encoded using the command line 'flac'...
2004 Sep 10
0
slow FLAC__file_decoder_seek_absolute()...
I think I figured out where the problem is. In my metadata_callback, I added a thing to print out the max_framesize and max_framesize from the stream_info block. Those are both zero. The ..._seek_absolute() function of the SeekableStreamDecoder uses the max_framesize to guess at where to seek. It doesn't seem to handle the case when max_frame_size is zero very well. I'm looking at seekable_stream_decoder.c, by the way. The files I am playing were encoded using the command line 'flac' encoder and default options....
2004 Sep 10
0
slow FLAC__file_decoder_seek_absolute()...
...> wrote: > > I think I figured out where the problem is. In my metadata_callback, > > > > I added a thing to print out the max_framesize and max_framesize from > > the stream_info block. Those are both zero. The ..._seek_absolute() > > > > function of the SeekableStreamDecoder uses the max_framesize to guess > > at where to seek. It doesn't seem to handle the case when > > max_frame_size is zero very well. I'm looking at > > seekable_stream_decoder.c, by the way. > > > > > > The files I am playing were encoded using th...