add FLAC::Decoder::Stream::get_decode_position()
This commit is contained in:
parent
d868f0c7a2
commit
a4f93918cd
@ -125,7 +125,7 @@
|
||||
<li>
|
||||
libFLAC++:
|
||||
<ul>
|
||||
<li>(none)</li>
|
||||
<li><b>Added</b> FLAC::Decoder::Stream::get_decode_position()</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -139,6 +139,7 @@ namespace FLAC {
|
||||
virtual unsigned get_bits_per_sample() const; ///< See FLAC__stream_decoder_get_bits_per_sample()
|
||||
virtual unsigned get_sample_rate() const; ///< See FLAC__stream_decoder_get_sample_rate()
|
||||
virtual unsigned get_blocksize() const; ///< See FLAC__stream_decoder_get_blocksize()
|
||||
virtual bool get_decode_position(FLAC__uint64 *position) const; ///< See FLAC__stream_decoder_get_decode_position()
|
||||
|
||||
virtual ::FLAC__StreamDecoderInitStatus init(); ///< Seek FLAC__stream_decoder_init_stream()
|
||||
virtual ::FLAC__StreamDecoderInitStatus init_ogg(); ///< Seek FLAC__stream_decoder_init_ogg_stream()
|
||||
|
@ -159,6 +159,12 @@ namespace FLAC {
|
||||
return ::FLAC__stream_decoder_get_blocksize(decoder_);
|
||||
}
|
||||
|
||||
bool Stream::get_decode_position(FLAC__uint64 *position) const
|
||||
{
|
||||
FLAC__ASSERT(is_valid());
|
||||
return ::FLAC__stream_decoder_get_decode_position(decoder_, position);
|
||||
}
|
||||
|
||||
::FLAC__StreamDecoderInitStatus Stream::init()
|
||||
{
|
||||
FLAC__ASSERT(is_valid());
|
||||
|
Loading…
x
Reference in New Issue
Block a user