44 void SetReverbTimes(
const float* rt60_values);
49 void SetGain(
float gain) { gain_ = gain; }
58 bool Process(
const std::vector<AudioBuffer>& bandpassed_noise_left,
59 const std::vector<AudioBuffer>& bandpassed_noise_right,
66 size_t GetCurrentPartitionIndex()
const {
67 const size_t frames_per_buffer = band_buffer_.num_frames();
68 DCHECK_NE(frames_per_buffer, 0U);
69 return tail_update_cursor_ / frames_per_buffer;
81 size_t tail_update_cursor_;
91 std::vector<int> curve_indices_;
95 std::vector<float> pure_decay_coefficients_;
99 std::vector<float> pure_decay_exponents_;