Displaying 4 results from an estimated 4 matches for "seekablestream".
2004 Sep 10
0
FLAC++ SeekableStream write_callback not being called?
...e callbacks do get called.
Josh
--- John Steele Scott <toojays@toojays.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I am trying to create a FLAC plugin for the K3b CD burning program.
> To do this
> I have subclassed the FLAC::Decoder::SeekableStream class. I can
> obtain the
> vorbiscomment data using set_metadata_respond,
> process_until_end_of_metadata
> and the metadata_callback, however I cannot decode the audio data. It
> seems
> to me as though the write_callback is never actually being called.
>
> Before I pe...
2004 Sep 10
2
FLAC++ SeekableStream write_callback not being called?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I am trying to create a FLAC plugin for the K3b CD burning program. To do this
I have subclassed the FLAC::Decoder::SeekableStream class. I can obtain the
vorbiscomment data using set_metadata_respond, process_until_end_of_metadata
and the metadata_callback, however I cannot decode the audio data. It seems
to me as though the write_callback is never actually being called.
Before I pepper my code with a bazillion trace stat...
2006 Mar 19
0
Patch -- Decode Position for libFLAC++ file and seekable_stream decoder
...1.9
diff -u -r1.9 seekable_stream_decoder.cpp
--- src/libFLAC++/seekable_stream_decoder.cpp 25 Jan 2005 04:18:35 -0000
1.9
+++ src/libFLAC++/seekable_stream_decoder.cpp 20 Mar 2006 05:54:52 -0000
@@ -147,6 +147,12 @@
return
::FLAC__seekable_stream_decoder_get_blocksize(decoder_);
}
+ bool SeekableStream::get_decode_position(FLAC__uint64
*position) const
+ {
+ FLAC__ASSERT(is_valid());
+ return
(bool)::FLAC__seekable_stream_decoder_get_decode_position(decoder_,
position);
+ }
+
SeekableStream::State SeekableStream::init()
{
FLAC__ASSERT(is_valid());
-------------- next part --------...
2006 May 11
2
C++ Set_Metadata Problem
I refer to a problem that appeared on the flac list last August that was
either solved off-list or abandoned.
(http://lists.xiph.org/pipermail/flac/2005-August/000468.html)
The problem is with using the C++ encoder classes, particularly the
FLAC::Encoder::File:set_metadata
function. JC said that the developers version of how to add a simple
metadata block looked right, but it did not work for