Revert "Audio processing: Feed each processing step its choice of int or float data"
This reverts r6138. tbr=kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/13509004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6142 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -46,18 +46,16 @@ class SystemDelayTest : public ::testing::Test {
|
||||
aecpc_t* self_;
|
||||
int samples_per_frame_;
|
||||
// Dummy input/output speech data.
|
||||
static const int kSamplesPerChunk = 160;
|
||||
int16_t far_[kSamplesPerChunk];
|
||||
float near_[kSamplesPerChunk];
|
||||
float out_[kSamplesPerChunk];
|
||||
int16_t far_[160];
|
||||
int16_t near_[160];
|
||||
int16_t out_[160];
|
||||
};
|
||||
|
||||
SystemDelayTest::SystemDelayTest()
|
||||
: handle_(NULL), self_(NULL), samples_per_frame_(0) {
|
||||
// Dummy input data are set with more or less arbitrary non-zero values.
|
||||
memset(far_, 1, sizeof(far_));
|
||||
for (int i = 0; i < kSamplesPerChunk; i++)
|
||||
near_[i] = 514.0;
|
||||
memset(near_, 2, sizeof(near_));
|
||||
memset(out_, 0, sizeof(out_));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user