Reland r8210 "Add a new parameter to ACMGenericCodec constructor""

This effectively reverts r8211.

The problem with r8210 was that the change in constructor signature was not done for other codec selections that then default one. That is, some code that was hidden under #ifdef did not get updated. This is now fixed.

BUG=4228
COAUTHOR=kwiberg@webrtc.org
TBR=minyue@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/37879004

Cr-Commit-Position: refs/heads/master@{#8215}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8215 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrik.lundin@webrtc.org
2015-01-30 12:29:25 +00:00
parent 4455f6243a
commit 3154a1cf9d
40 changed files with 170 additions and 101 deletions

View File

@ -25,7 +25,7 @@ namespace acm2 {
class ACMAMR : public ACMGenericCodec {
public:
explicit ACMAMR(int16_t codec_id);
ACMAMR(int16_t codec_id, bool enable_red);
~ACMAMR();
// for FEC