Delete unused code.

* Unused audio_coding and video_coding test code.
* Obsolete voice_engine android test app.
* Left-over placeholder files for remoteaudiotrack and
  portallocatorfactory.

In addition, change modules.gyp dependency from rtc_base to
rtc_base_approved.

BUG=
R=henrik.lundin@webrtc.org, henrika@webrtc.org, pbos@webrtc.org, tina.legrand@webrtc.org

Review URL: https://codereview.webrtc.org/2065353002 .

Cr-Commit-Position: refs/heads/master@{#13166}
This commit is contained in:
Niels Möller
2016-06-16 15:51:31 +02:00
parent 2d014be554
commit fc3a8ee47b
22 changed files with 1 additions and 3351 deletions

View File

@ -1,58 +0,0 @@
/*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#include "TimedTrace.h"
#include <math.h>
double TimedTrace::_timeEllapsedSec = 0;
FILE* TimedTrace::_timedTraceFile = NULL;
TimedTrace::TimedTrace() {
}
TimedTrace::~TimedTrace() {
if (_timedTraceFile != NULL) {
fclose(_timedTraceFile);
}
_timedTraceFile = NULL;
}
int16_t TimedTrace::SetUp(char* fileName) {
if (_timedTraceFile == NULL) {
_timedTraceFile = fopen(fileName, "w");
}
if (_timedTraceFile == NULL) {
return -1;
}
return 0;
}
void TimedTrace::SetTimeEllapsed(double timeEllapsedSec) {
_timeEllapsedSec = timeEllapsedSec;
}
double TimedTrace::TimeEllapsed() {
return _timeEllapsedSec;
}
void TimedTrace::Tick10Msec() {
_timeEllapsedSec += 0.010;
}
void TimedTrace::TimedLogg(char* message) {
unsigned int minutes = (uint32_t) floor(_timeEllapsedSec / 60.0);
double seconds = _timeEllapsedSec - minutes * 60;
//char myFormat[100] = "%8.2f, %3u:%05.2f: %s\n";
if (_timedTraceFile != NULL) {
fprintf(_timedTraceFile, "%8.2f, %3u:%05.2f: %s\n", _timeEllapsedSec,
minutes, seconds, message);
}
}

View File

@ -1,36 +0,0 @@
/*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef WEBRTC_MODULES_AUDIO_CODING_TEST_TIMEDTRACE_H_
#define WEBRTC_MODULES_AUDIO_CODING_TEST_TIMEDTRACE_H_
#include "webrtc/typedefs.h"
#include <stdio.h>
#include <stdlib.h>
class TimedTrace {
public:
TimedTrace();
~TimedTrace();
void SetTimeEllapsed(double myTime);
double TimeEllapsed();
void Tick10Msec();
int16_t SetUp(char* fileName);
void TimedLogg(char* message);
private:
static double _timeEllapsedSec;
static FILE* _timedTraceFile;
};
#endif // WEBRTC_MODULES_AUDIO_CODING_TEST_TIMEDTRACE_H_