Displaying 3 results from an estimated 3 matches for "get_decode_posit".
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.
Thanks!
---...
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.
Thanks!
2006 Mar 19
0
Patch -- Decode Position for libFLAC++ file and seekable_stream decoder
...ile_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 ::FLAC__file_decoder_get_blocksize(decoder_);
}
+ bool File::get_decode_position(FLAC__uint64 *position) const
+ {
+ FLAC__ASSERT(is_valid());
+ return
(bool)::FLAC__file_decoder_get_decode_position(decoder_, position);
+ }
+
File::State File::init()
{
FLAC__ASSERT(0 != decoder_);
Index: src/libFLAC++/seekable_stream_decoder.cpp
==============================...