add ..._get_total_samples_estimate()

This commit is contained in:
Josh Coalson
2002-08-02 07:38:20 +00:00
parent 9b4a014ea8
commit 3a7b2c9be8
6 changed files with 68 additions and 18 deletions

View File

@@ -238,6 +238,12 @@ namespace FLAC {
return ::FLAC__stream_encoder_get_rice_parameter_search_dist(encoder_);
}
FLAC__uint64 Stream::get_total_samples_estimate() const
{
FLAC__ASSERT(is_valid());
return ::FLAC__stream_encoder_get_total_samples_estimate(encoder_);
}
Stream::State Stream::init()
{
FLAC__ASSERT(is_valid());