similar to: problem with seek_absolute in libFLAC++

Displaying 20 results from an estimated 800 matches similar to: "problem with seek_absolute in libFLAC++"

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
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 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 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
2005 Oct 16
1
Trivial Implementation for future libFLAC++ releases
Josh, I added the following trivial implementation of the C++ file decoder FLAC::Decoder::File::get_decode_position() to my file_decoder.cpp file... bool File::get_decode_position(FLAC__uint64 *position) const { FLAC__ASSERT(is_valid()); return (bool)::FLAC__file_decoder_get_decode_position(decoder_, position); } I would humbly suggest it be included in future libFLAC++ releases.
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've seeked to. To my surprise
2004 Sep 10
1
mistake in FLAC++ metadata interface?
Hi all, Using the FLAC++ level 2 metadata interface the following function doesn't do what you would expect: cuesheet->get_track(i).get_num_indices(); (where cuesheet is a FLAC::Metadata::CueSheet *) It returns a bool instead of an int, why is this? To get the mumber of indicies in a track I need to use: cuesheet->get_track(i).get_track()->num_indices; ie. retrieve the C struct
2004 Sep 10
2
Cross Platform audio library
Hello all, I am currently using libao for audio output in my FLAC project. I am using linux, but I would like the program to be portable to windows. I am having no luck finding information about audio output API's that are cross platform compatable. libao is designed to be, but does anyone know it it ACTUALLY works under windows? I cant seem to find out! Failing that, are there any other
2004 Sep 10
4
cuesheets w/ PERFORMER & TITLE track info
Hi there, is there any specific reason for ignoring TITLE and PERFORMER info when importing CD-TEXT cuesheets into flac files? (These two fields have not always been used but they have become widely supported by now). One may answer that the preferred method for getting this kind of info for a cuesheet-flac would be CDDB, but CDDB info is not always reliable. In my opinion the goal "Now a CD
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.
2004 Sep 10
1
Can I STOP decoding at an exact sample?
Hi guys, Thanks Matt for your prompt response about the C++ problem, its working great now! Again for my "virtual cdplayer", I am wondering if its possible to stop decoding within a large file, at the end of an exact sample? ie. I wish to play a song in the middle of a flac'd cd. Using the file decoder, I can seek to the start of the track(index 01 of the cds TOC), but I then want
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
what/why ogg-flac ?
Hello again all, I am confused by the ogg option in flac. Why has this feature been added? what does it allow you to do? Is it easier to tag or stream or something ? Can someone give me a practical example of where you might want to have ogg-flac files rather than plain flac? Thanks, Dave
2006 Mar 19
0
Patch -- Decode Position for libFLAC++ file and seekable_stream decoder
Index: src/libFLAC++/file_decoder.cpp =================================================================== RCS file: /cvsroot/flac/flac/src/libFLAC++/file_decoder.cpp,v retrieving revision 1.9 diff -u -r1.9 file_decoder.cpp --- src/libFLAC++/file_decoder.cpp 25 Jan 2005 04:18:35 -0000 1.9 +++ src/libFLAC++/file_decoder.cpp 20 Mar 2006 05:53:19 -0000 @@ -159,6 +159,12 @@ return
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
2005 Sep 16
0
Trivial Implementation for future libFLAC++ releases
Josh, I added the following trivial implementation of the C++ file decoder FLAC::Decoder::File::get_decode_position() to my file_decoder.cpp file... bool File::get_decode_position(FLAC__uint64 *position) const { FLAC__ASSERT(is_valid()); return (bool)::FLAC__file_decoder_get_decode_position(decoder_, position); } I would humbly suggest it be included in future libFLAC++ releases.
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:
2004 Sep 10
4
flac123 revival
Hello Dan Johnson, hello list, It's really weird that there's no working command line player for FLAC files. Dan Johnson created flac123 (licensed under the GPL) to fill that gap, and started the flac-tools project. Unfortunately, flac123 doesn't work anymore with the latest FLAC, and the flac-tools project has been idle for more than a year. I created a patch that makes flac123