Displaying 20 results from an estimated 1000 matches similar to: "Trivial Implementation for future libFLAC++ releases"
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
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.
2004 Sep 10
2
getting framesize in client
On Fri, Nov 08, 2002 at 07:12:35PM -0800, Josh Coalson wrote:
> Yeah, it's useful, so now there is a
> FLAC__seekable_stream_decoder_get_decode_position() and
> FLAC__file_decoder_get_decode_position(). I haven't documented
> them yet but you can see an example in
> src/metaflac/operations_shorthand_seektable.c where I use it
> during seektable creation.
Ok, here is
2004 Sep 10
0
getting framesize in client
On Sat, Nov 09, 2002 at 06:02:33PM +0100, Miroslav Lichvar wrote:
> On Fri, Nov 08, 2002 at 07:12:35PM -0800, Josh Coalson wrote:
> > Yeah, it's useful, so now there is a
> > FLAC__seekable_stream_decoder_get_decode_position() and
> > FLAC__file_decoder_get_decode_position(). I haven't documented
> > them yet but you can see an example in
> >
2005 May 25
0
[PATCH] Fix fuction prototypes/definitions with void argument
Hi,
the patch below fixes function prototypes/defintions with void
argument to shut up the heartful warnings by recent gcc :)
It doesn't cover all places, e.g. test directories.
The patch is to 1.1.2.
Takashi
--- src/metaflac/operations.c-dist 2005-05-25 16:20:02.000000000 +0200
+++ src/metaflac/operations.c 2005-05-25 16:20:09.000000000 +0200
@@ -26,7 +26,7 @@
#include <stdlib.h>
2004 Sep 10
0
getting framesize in client
On Wed, Nov 13, 2002 at 09:03:43PM -0800, Josh Coalson wrote:
> --- Miroslav Lichvar <lichvarm@phoenix.inf.upol.cz> wrote:
> > On Sat, Nov 09, 2002 at 06:02:33PM +0100, Miroslav Lichvar wrote:
> > > On Fri, Nov 08, 2002 at 07:12:35PM -0800, Josh Coalson wrote:
> > > > Yeah, it's useful, so now there is a
> > > >
2004 Sep 10
3
getting framesize in client
On Fri, Nov 08, 2002 at 12:39:52PM -0800, Josh Coalson wrote:
> --- Miroslav Lichvar <lichvarm@phoenix.inf.upol.cz> wrote:
> > I have few notes:
> >
> > It seems there is changed API in CVS again. So, what about adding
> > function like
> > unsigned FLAC__format_frame_size(const FLAC__Frame *frame)
> > which returns size of the frame in bytes. This
2004 Sep 10
2
Using libFLAC++
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm attempting to add flac playback to my app, and would like a couple of
pointers. First of all, I'm very much a "learn by seeing other people doing"
sort of programmer, and would love a pointer to an open-source app that uses
libFLAC++, so I could see how they do it. Second, I'm having problems with
my simple test app
2004 Sep 10
0
http streaming in the xmms plugin
Hi,
Here's a patch to add support for streaming HTTP transport to the xmms
plugin. Most of the code (in particular, http.c) is taken from the xmms
mpg123 input plugin.
You'll need to make a three-line change to the xmms mpg123 input plugin to
get streaming to work. The mpeg plugin currently handles all http urls
itself unless they end in an ogg or real audio extension (which means flac
2013 Aug 20
0
sf bug 256 - Virtual functions in destructor
In 2007, user reported a segfault in
FLAC::Encoder::File::progress_callback() when called from ~Stream().
Original report at https://sourceforge.net/p/flac/bugs/256/
Hello! Sorry, english is not my best language.
I use libFLAC++ API. I have some problems. In libFLAC API all OK.
Unhandled exception at 0x00000000 in Test.exe: 0xC0000005: Access
violation reading location 0x00000000.
Call stack
2004 Sep 10
0
Using libFLAC++
On Sat, Feb 15, 2003 at 06:18:12PM -0700, David Bishop wrote:
> I'm attempting to add flac playback to my app, and would like a couple of
> pointers. First of all, I'm very much a "learn by seeing other people doing"
> sort of programmer, and would love a pointer to an open-source app that uses
> libFLAC++, so I could see how they do it.
In flac sources there is
2012 Apr 24
1
Writing seektable using libFLAC++
Hi! I've been using a little C++ program I've written to encode flac files. The program does this in the usual way (I think), by inheriting a class from FLAC::Encoder::File, and passing it chunks of raw samples through process_interleaved()... Anyway, the program works beautifully, and I've now decided to try and add some metadata to the encoded flacs. Eventually, there will be vorbis
2004 Sep 10
0
new checkins
I have in my working directory the trivial header changes necessary to allow
FLAC library functions to be used in C++ programs. Is it OK to commit this?
--
- mdz
-------------- next part --------------
? Makefile
? Makefile.in
? ordinals.h
Index: file_decoder.h
===================================================================
RCS file: /cvsroot/flac/flac/include/FLAC/file_decoder.h,v
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
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
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
2008 May 09
1
FLAC__metadata_get_picture()
Hi all!
I have a problem to get _all_ images from flac file.
I have flac file with 3 images inside ( FLAC__METADATA_TYPE_PICTURE )
How to get _all_ images with bool FLAC::Metadata::get_picture() func?
This function is wrapper FLAC__bool FLAC__metadata_get_picture().
flac-1.2.1/src/libFLAC/metadata_iterators.c:
...
285 FLAC_API FLAC__bool FLAC__metadata_get_picture(const char *filename,
2004 Sep 10
3
Compiling problem flac 1.0.4 Mandrake 9.0 gcc 3.2
Hi,
I just read the thread about making 3dnow optimisations default and thought I would test it as I have an AMD here.
Unfortunately I can not even compile with default (no 3dnow) options.
./configure goes fine including this part:
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for g++... no
checking for
2004 Sep 10
0
Compiling problem flac 1.0.4 Mandrake 9.0 gcc 3.2
I think the basic problem is that configure can't find any
C++ compiler on your system, which is required to build
some of the libraries. It's kind of hard to imagine that
Mandrake would supply gcc but not g++; maybe something else
is wrong.
Anyway, if you absolutely do not want any of the C++ stuff,
you can just remove the following directories from SUBDIRS
in src/Makefile
libFLAC++
2005 Jan 25
0
bitbuffer optimizations
On Mon, Jan 24, 2005 at 06:31:21PM -0800, Josh Coalson wrote:
> yes, a mere 2 years later it is checked in!
>
> speed improvement for me is roughly 17% testing flac files on
> linux-i386.
Thanks!
In case you would like to check another old patch, I have attached updated
patch for seekable stream decoder, originally posted on 09/07/2003.
--
Miroslav Lichvar
-------------- next