VoE: Remove unused interfaces
BUG=4690 I have removed methods in VoE interfaces that were marked to be removed. I have removed them also in fake and mock implementations. I have also updated the callers in various ways: 1. Project win_test had some calls to the removed methods, but it turned out that the project is not used anymore, so I removed it entirely. 2. There were some calls to removed methods in jni methods. I have removed couple of jni methods as now they seem to do nothing. 3. With the remaining callers I just removed the calls to removed methods. R=pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/53519004 Cr-Commit-Position: refs/heads/master@{#9281}
This commit is contained in:
@ -131,19 +131,6 @@ class WEBRTC_DLLEXPORT VoECodec {
|
||||
// success, and -1 if failed.
|
||||
virtual int SetOpusDtx(int channel, bool enable_dtx) = 0;
|
||||
|
||||
// Don't use. To be removed.
|
||||
virtual int SetAMREncFormat(int channel, AmrMode mode) { return -1; }
|
||||
virtual int SetAMRDecFormat(int channel, AmrMode mode) { return -1; }
|
||||
virtual int SetAMRWbEncFormat(int channel, AmrMode mode) { return -1; }
|
||||
virtual int SetAMRWbDecFormat(int channel, AmrMode mode) { return -1; }
|
||||
virtual int SetISACInitTargetRate(int channel,
|
||||
int rateBps,
|
||||
bool useFixedFrameSize = false) {
|
||||
return -1;
|
||||
}
|
||||
virtual int SetISACMaxRate(int channel, int rateBps) { return -1; }
|
||||
virtual int SetISACMaxPayloadSize(int channel, int sizeBytes) { return -1; }
|
||||
|
||||
protected:
|
||||
VoECodec() {}
|
||||
virtual ~VoECodec() {}
|
||||
|
||||
Reference in New Issue
Block a user