Remove overloaded CpuOveruseMeasure function.
R=mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/5199005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5272 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
df7b1d6e39
commit
88ac63abc6
@ -131,11 +131,6 @@ class WEBRTC_DLLEXPORT ViEBase {
|
||||
// processed. The delay is expressed in ms
|
||||
// delay per second.
|
||||
// TODO(asapersson): Remove default implementation.
|
||||
// TODO(asapersson): Remove this function.
|
||||
virtual int CpuOveruseMeasures(int channel,
|
||||
int* capture_jitter_ms,
|
||||
int* avg_encode_time_ms) { return -1; }
|
||||
|
||||
virtual int CpuOveruseMeasures(int channel,
|
||||
int* capture_jitter_ms,
|
||||
int* avg_encode_time_ms,
|
||||
|
@ -117,18 +117,6 @@ int ViEBaseImpl::RegisterCpuOveruseObserver(int video_channel,
|
||||
return 0;
|
||||
}
|
||||
|
||||
int ViEBaseImpl::CpuOveruseMeasures(int video_channel,
|
||||
int* capture_jitter_ms,
|
||||
int* avg_encode_time_ms) {
|
||||
int encode_usage_percent;
|
||||
int capture_queue_delay_ms_per_s;
|
||||
return CpuOveruseMeasures(video_channel,
|
||||
capture_jitter_ms,
|
||||
avg_encode_time_ms,
|
||||
&encode_usage_percent,
|
||||
&capture_queue_delay_ms_per_s);
|
||||
}
|
||||
|
||||
int ViEBaseImpl::CpuOveruseMeasures(int video_channel,
|
||||
int* capture_jitter_ms,
|
||||
int* avg_encode_time_ms,
|
||||
|
@ -33,9 +33,6 @@ class ViEBaseImpl
|
||||
virtual int SetVoiceEngine(VoiceEngine* voice_engine);
|
||||
virtual int RegisterCpuOveruseObserver(int channel,
|
||||
CpuOveruseObserver* observer);
|
||||
virtual int CpuOveruseMeasures(int channel,
|
||||
int* capture_jitter_ms,
|
||||
int* avg_encode_time_ms);
|
||||
virtual int CpuOveruseMeasures(int channel,
|
||||
int* capture_jitter_ms,
|
||||
int* avg_encode_time_ms,
|
||||
|
Loading…
x
Reference in New Issue
Block a user