Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(689)

Unified Diff: webrtc/modules/audio_coding/acm2/rent_a_codec.h

Issue 2020353003: AudioDecoderIsacT: Require caller to always specify sample rate (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/acm2/rent_a_codec.h
diff --git a/webrtc/modules/audio_coding/acm2/rent_a_codec.h b/webrtc/modules/audio_coding/acm2/rent_a_codec.h
index bac37afa96310bd0d724761970453e8051d4c6a5..daa56a43a6763ad6e01560f1acee2e9d3279f6fe 100644
--- a/webrtc/modules/audio_coding/acm2/rent_a_codec.h
+++ b/webrtc/modules/audio_coding/acm2/rent_a_codec.h
@@ -220,7 +220,7 @@ class RentACodec {
std::unique_ptr<AudioEncoder> RentEncoderStack(StackParameters* param);
// Creates and returns an iSAC decoder.
- std::unique_ptr<AudioDecoder> RentIsacDecoder();
+ std::unique_ptr<AudioDecoder> RentIsacDecoder(int sample_rate_hz);
private:
std::unique_ptr<AudioEncoder> speech_encoder_;

Powered by Google App Engine
This is Rietveld 408576698