Displaying 20 results from an estimated 200 matches similar to: "FLAC__stream_decoder_seek_absolute calling write callback"
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
2004 Sep 10
3
problem with seek_absolute in libFLAC++
Hello,
I have been changing my (C++)program over to the new FLAC++ API which
has gone relatively smoothly.
However, the function seek_absolute() (from the FLAC::Decoder::File
class) does not seem to work. It always returns false and doesnt seek at
all. Using gdb, I have narrowed down the problem somewhat, but being the
novice programmer that I am, I still don't know whats wrong.
When I
2007 Sep 26
2
libFLAC++ Seeking
Hello,
I've a problem with seeking using libFLAC++ API.
The call to seek_absolute always returns with false, whatever I do.
I tried many different ways, finally I tried to reduce my added code to near zero, so I used the cpp decode example in ...\flac-1.2.1\examples\cpp\decode\file\.main.cpp and added only one line:
bool b=decoder.seek_absolute(1000);
right before
ok =
2007 Sep 27
1
libFLAC++ Seeking
?rta:
> ?rta:
>
> Hello,
>
> I've a problem with seeking using libFLAC++ API.
> The call to seek_absolute always returns with false, whatever I do.
>
> I tried many different ways, finally I tried to reduce my added code to near zero, so I used the cpp decode example in ...\flac-1.2.1\examples\cpp\decode\file\.main.cpp and added only one line:
>
> bool
2007 Sep 11
0
Is FLAC__stream_decoder_seek_absolute working for OggFlac?
--- Erik de Castro Lopo <erikd-flac@mega-nerd.com> wrote:
> Josh Coalson wrote:
>
> > --- Erik de Castro 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
2008 Feb 20
2
FLAC seeking error
I am writing a FLAC encoder/decoder and when I use the flac_static.lib
that was compiled in debug mode in MS Visual Studio 2003, the
seek_absolute function works fine. However, if I compile flac_static in
release mode in the same environment, the seek_absolute function no
longer works. No parts of my code change, the only difference is
whether I link in the release lib instead of the debug lib.
2007 Jul 25
2
Is FLAC__stream_decoder_seek_absolute working for OggFlac?
Josh Coalson wrote:
> --- Erik de Castro 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
2004 Sep 10
1
seek problem
Hi Flac developers!
I'm using the seekable_stream_decoder API of libFLAC 1.03
and I'm stuck with a mysterious problem:
my FLAC plugin works nicely as long as the seek_absolute()
function is never used, but as soon as I seek around in a
sample (ie. call seek_absolute() with an offset != 0), I cannot
detect the end of a file anymore. decoder_get_state() never
returns
2004 Sep 10
1
Unexpected writeCallback() calls
Hello!
I've recently written a FLAC input plugin which uses the
seekable stream decoder API of libFLAC 1.02. It works so
far, but one thing is pretty annoying and should be changed
in future libFLAC versions, IMHO:
The writeCallback is not only called after functions which
do decoding (like process_whole_stream(), process_one_frame()
or process_remaining_frames()), ie. where one expects that
2004 Sep 27
1
Decoding via API from a single FLAC file using a cue sheet
Hello,
I have currently many of my CDs ripped to FLAC to replay them from the
computer. In most cases, there are single files for each track on the
CD. I like the idea to rip the CD to a single track and add a cue sheet
to the metadata which was recently discussed on the list.
How would I access specific tracks using this approach by means of the
FLAC (or FLAC++) API in my own decoder
2005 Aug 03
1
C++ File Decoder position not implemented?
It appears the C++ File Decoder wrapper to the
FLAC__File_Decoder_decode_position function has not been implemented.
How can I determine what the current sample is being decoded?
I note the seek_absolute function is included, so I can go to a particular
sample, but I don't know where I am :-)
Thanks!
Scot
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
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
2004 Sep 10
0
problem with seek_absolute in libFLAC++
--- David Collett <jg@webone.com.au> wrote:
> Hello,
> I have been changing my (C++)program over to the new FLAC++ API which
>
> has gone relatively smoothly.
>
> However, the function seek_absolute() (from the FLAC::Decoder::File
> class) does not seem to work. It always returns false and doesnt seek
> at
> all. Using gdb, I have narrowed down the problem
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
--
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
2004 Sep 10
1
problem with seek_absolute in libFLAC++
Nevermind, I have discovered the problem(not really a problem).
I had called:
set_metadata_ignore_all();
because I didnt actually need to use the metadata in my application.
But it seems that with this option set, "total_samples" is not set
correctly after calling init().
Upon further debugging, I discovered that the test "sample <
total_samples" was what is failing in
2007 Sep 26
0
libFLAC++ Seeking
?rta:
> Hello,
>
> I've a problem with seeking using libFLAC++ API.
> The call to seek_absolute always returns with false, whatever I do.
>
> I tried many different ways, finally I tried to reduce my added code to near zero, so I used the cpp decode example in ...\flac-1.2.1\examples\cpp\decode\file\.main.cpp and added only one line:
>
> bool
2016 Nov 15
2
Seek failure with very short files
Hi!
We are using libFLAC++ in our project for both encoding and decoding. I've
found an issue where ::FLAC::Decoder::Stream::seek_absolute() fails with
very short files (less than 2500 frames or so.) I've attached an example of
such a file.
The failure case is in stream_decoder.c, line 3071. The comment above this
case reads "check if the bounds are still ok." The sample
2005 Apr 27
2
seek_absolute problem
--- Bernd Löhr <B.Loehr@hermstedt.de> wrote:
> Hi,
>
> I am using the FLAC encoder and decoder lib in it's integer only
> version (FLAC__INTEGER_ONLY_LIBRARY) on a PPC405 system.
>
> I encounter complete different behaviour when setting random playback
>
> positions while decoding different flac encoded files.
> If they have been encoded on a PC,
2006 May 30
2
Wrong Content-type in RJS with Gettext
Hello,
I am developing an application using Rails and doing l10n with
ruby-gettext.
When I deploy the app on lighttpd, every rjs template is rendered with
Content-type: text/html; charset: UTF-8. I believe it comes from 85th
line of
rails.rb script in ruby-gettext lib. RJS templates are not executed in
this situation.
Hovewer, when I run the app with Webrick, rjs templates are rendered
with: