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

@@ -791,6 +791,12 @@ unsigned FLAC__stream_encoder_get_rice_parameter_search_dist(const FLAC__StreamE
return encoder->protected_->rice_parameter_search_dist;
}
FLAC__uint64 FLAC__stream_encoder_get_total_samples_estimate(const FLAC__StreamEncoder *encoder)
{
FLAC__ASSERT(0 != encoder);
return encoder->protected_->total_samples_estimate;
}
FLAC__bool FLAC__stream_encoder_process(FLAC__StreamEncoder *encoder, const FLAC__int32 * const buffer[], unsigned samples)
{
unsigned i, j, channel;