Displaying 8 results from an estimated 8 matches for "flac__stream_decoder_seek_absolute".
2016 Jan 13
1
FLAC__stream_decoder_seek_absolute calling write callback
Hello,
The API documentation [1] `FLAC__stream_decoder_seek_absolute` says:
"Flush the input and seek to an absolute sample. Decoding will resume
at the given sample. Note that because of this, the next write
callback may contain a partial block."
I expected that subsequent `process_single` calls would return data
starting exactly from the sample I'v...
2007 Jul 14
2
Is FLAC__stream_decoder_seek_absolute working for OggFlac?
Hi all,
Is seeking working for OggFlac files? I keep on getting a
FLAC__STREAM_DECODER_SEEK_ERROR.
Erik
--
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"Why do they protest against France for making it illegal to wear
hijabs, but not against Saudi Arabia for making it illegal not to
2007 Sep 11
0
Is FLAC__stream_decoder_seek_absolute working for OggFlac?
...t; wrote:
> >
> > > Hi all,
> > >
> > > Is seeking working for OggFlac files? I keep on getting a
> > > FLAC__STREAM_DECODER_SEEK_ERROR.
> >
> > yes, it should work fine. in flac/src/test_seeking/main.c there
> > is an example usage of FLAC__stream_decoder_seek_absolute(). you
> > could try compiling it and running test_seeking on it. if if fails
> > maybe there is a bug that your stream is triggering.
>
> Ok, running the command:
>
> src/test_seeking/test_seeking flac_char.ogg
>
> resulted in:
>
> +++ seek test:...
2007 Jul 25
2
Is FLAC__stream_decoder_seek_absolute working for OggFlac?
...stro Lopo <erikd-flac@mega-nerd.com> wrote:
>
> > Hi all,
> >
> > Is seeking working for OggFlac files? I keep on getting a
> > FLAC__STREAM_DECODER_SEEK_ERROR.
>
> yes, it should work fine. in flac/src/test_seeking/main.c there
> is an example usage of FLAC__stream_decoder_seek_absolute(). you
> could try compiling it and running test_seeking on it. if if fails
> maybe there is a bug that your stream is triggering.
Ok, running the command:
src/test_seeking/test_seeking flac_char.ogg
resulted in:
+++ seek test: FLAC__StreamDecoder (Ogg FLAC, read_mode=0)...
2007 Sep 11
1
Is FLAC__stream_decoder_seek_absolute working for OggFlac?
Josh Coalson wrote:
> > The test file is here:
> >
> > http://www.mega-nerd.com/tmp/flac_char.ogg
>
> yep, this is definitely a bug, thanks for the test case. requires
> a tiny fix to the ogg seek algorithm which I will check in tonight.
Oh cool. I was wondering what happened to that issue.
Erik
--
2016 Jan 19
0
FLAC__stream_decoder_seek_absolute calling write callback
> Hi,
> Sorry for the tardy response to this. I've now read your email a number of
> times and I'm still not sure what needs to be done.
> Maybe it would help if you could explain the following:
> * What is actually happening.
> * What you expect to happen and how that differs from what is happening.
> * Propose a fix.
> Once thing that may actually help is a small
2007 Mar 06
1
FLAC__stream_decoder_seek_absolute with FLAC__STREAM_DECODER_SEEK_ERROR in 1.1.3 but it worked before
I've upgraded to FLAC 1.1.3, and now I have some streams where seek does
not work anymore, but they used to work before.
After a bit of debugging, it looks like those streams (created a long
time ago with an old version of FLAC) have a seek table where all the
entries have a stream offset of 0.
The result is that in the function seek_to_absolute_sample_, on line
3076 (file
2013 Mar 06
2
2GB limit patch
Brian Willoughby wrote:
> I do not see the need to jump to 64-bit merely to get beyond the 2 GB
> limit. There are modern API that handle 32-bit unsigned file lengths
> - i.e., up to 4 GB - without going to 64-bit.
When we are talking about offset_t we are talking about the flac C and
C++ API. Currently if we have a flac file with more than 2Gig samples
it is not possible to seek