Move trunk/test/data -> trunk/data
BUG= TEST=all trybot test failures passed locally Review URL: https://webrtc-codereview.appspot.com/583007 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2280 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
# This script can be used to verify the bit exactness of iLBC fixed-point version 1.0.6
|
||||
#
|
||||
|
||||
INP=../../../../../../../test/data/audio_coding
|
||||
INP=../../../../../../../data/audio_coding
|
||||
EXEP=../../../../../../../out/Release
|
||||
OUTP=./GeneratedFiles
|
||||
mkdir ./GeneratedFiles
|
||||
|
||||
@@ -264,7 +264,7 @@ APITest::SetUp()
|
||||
printf("Hit enter to accept the default values indicated in []\n\n");
|
||||
|
||||
//--- Input A
|
||||
strcpy(fileName, "./test/data/audio_coding/testfile32kHz.pcm");
|
||||
strcpy(fileName, "./data/audio_coding/testfile32kHz.pcm");
|
||||
frequencyHz = 32000;
|
||||
printf("Enter input file at side A [%s]: ", fileName);
|
||||
PCMFile::ChooseFile(fileName, 499, &frequencyHz);
|
||||
@@ -278,7 +278,7 @@ APITest::SetUp()
|
||||
_outFileA.Open(fileName, frequencyHz, "wb");
|
||||
|
||||
//--- Input B
|
||||
strcpy(fileName, "./test/data/audio_coding/testfile32kHz.pcm");
|
||||
strcpy(fileName, "./data/audio_coding/testfile32kHz.pcm");
|
||||
printf("\n\nEnter input file at side B [%s]: ", fileName);
|
||||
PCMFile::ChooseFile(fileName, 499, &frequencyHz);
|
||||
_inFileB.Open(fileName, frequencyHz, "rb", true);
|
||||
|
||||
@@ -63,14 +63,14 @@ void Sender::Setup(AudioCodingModule *acm, RTPStream *rtpStream) {
|
||||
// Set the codec, input file, and parameters for the current test.
|
||||
codecNo = codeId;
|
||||
// Use same input file for now.
|
||||
char fileName[] = "./test/data/audio_coding/testfile32kHz.pcm";
|
||||
char fileName[] = "./data/audio_coding/testfile32kHz.pcm";
|
||||
_pcmFile.Open(fileName, 32000, "rb");
|
||||
} else if (testMode == 0) {
|
||||
// Set the codec, input file, and parameters for the current test.
|
||||
codecNo = codeId;
|
||||
acm->Codec(codecNo, sendCodec);
|
||||
// Use same input file for now.
|
||||
char fileName[] = "./test/data/audio_coding/testfile32kHz.pcm";
|
||||
char fileName[] = "./data/audio_coding/testfile32kHz.pcm";
|
||||
_pcmFile.Open(fileName, 32000, "rb");
|
||||
} else {
|
||||
printf("List of supported codec.\n");
|
||||
@@ -80,7 +80,7 @@ void Sender::Setup(AudioCodingModule *acm, RTPStream *rtpStream) {
|
||||
}
|
||||
printf("Choose your codec:");
|
||||
ASSERT_GT(scanf("%d", &codecNo), 0);
|
||||
char fileName[] = "./test/data/audio_coding/testfile32kHz.pcm";
|
||||
char fileName[] = "./data/audio_coding/testfile32kHz.pcm";
|
||||
_pcmFile.Open(fileName, 32000, "rb");
|
||||
}
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ SpatialAudio::Setup()
|
||||
char audioFileName[MAX_FILE_NAME_LENGTH_BYTE];
|
||||
WebRtc_UWord16 sampFreqHz = 32000;
|
||||
|
||||
strncpy(audioFileName, "./test/data/audio_coding/testfile32kHz.pcm",
|
||||
strncpy(audioFileName, "./data/audio_coding/testfile32kHz.pcm",
|
||||
MAX_FILE_NAME_LENGTH_BYTE - 1);
|
||||
if(_testMode == 1)
|
||||
{
|
||||
|
||||
@@ -141,7 +141,7 @@ TestAllCodecs::~TestAllCodecs()
|
||||
void TestAllCodecs::Perform()
|
||||
{
|
||||
|
||||
char file[] = "./test/data/audio_coding/testfile32kHz.pcm";
|
||||
char file[] = "./data/audio_coding/testfile32kHz.pcm";
|
||||
_inFileA.Open(file, 32000, "rb");
|
||||
|
||||
if(_testMode == 0)
|
||||
|
||||
@@ -59,7 +59,7 @@ void TestFEC::Perform()
|
||||
WEBRTC_TRACE(kTraceStateInfo, kTraceAudioCoding, -1,
|
||||
"---------- TestFEC ----------");
|
||||
}
|
||||
char fileName[] = "./test/data/audio_coding/testfile32kHz.pcm";
|
||||
char fileName[] = "./data/audio_coding/testfile32kHz.pcm";
|
||||
_inFileA.Open(fileName, 32000, "rb");
|
||||
|
||||
|
||||
|
||||
@@ -155,8 +155,8 @@ void TestStereo::Perform() {
|
||||
"---------- TestStereo ----------");
|
||||
}
|
||||
|
||||
strcpy(file_name_stereo, "./test/data/audio_coding/teststereo32kHz.pcm");
|
||||
strcpy(file_name_mono, "./test/data/audio_coding/testfile32kHz.pcm");
|
||||
strcpy(file_name_stereo, "./data/audio_coding/teststereo32kHz.pcm");
|
||||
strcpy(file_name_mono, "./data/audio_coding/testfile32kHz.pcm");
|
||||
frequency_hz = 32000;
|
||||
|
||||
in_file_stereo_ = new PCMFile();
|
||||
|
||||
@@ -59,7 +59,7 @@ void TestVADDTX::Perform()
|
||||
WEBRTC_TRACE(webrtc::kTraceStateInfo, webrtc::kTraceAudioCoding, -1,
|
||||
"---------- TestVADDTX ----------");
|
||||
}
|
||||
char fileName[] = "./test/data/audio_coding/testfile32kHz.pcm";
|
||||
char fileName[] = "./data/audio_coding/testfile32kHz.pcm";
|
||||
_inFileA.Open(fileName, 32000, "rb");
|
||||
|
||||
_acmA = AudioCodingModule::Create(0);
|
||||
|
||||
@@ -203,7 +203,7 @@ WebRtc_Word16 TwoWayCommunication::SetUp()
|
||||
WebRtc_UWord16 frequencyHz;
|
||||
|
||||
//--- Input A
|
||||
strcpy(fileName, "./test/data/audio_coding/testfile32kHz.pcm");
|
||||
strcpy(fileName, "./data/audio_coding/testfile32kHz.pcm");
|
||||
frequencyHz = 32000;
|
||||
printf("Enter input file at side A [%s]: ", fileName);
|
||||
ChooseFile(fileName, 499, &frequencyHz);
|
||||
@@ -223,7 +223,7 @@ WebRtc_Word16 TwoWayCommunication::SetUp()
|
||||
_outFileRefA.Open(refFileName, frequencyHz, "wb");
|
||||
|
||||
//--- Input B
|
||||
strcpy(fileName, "./test/data/audio_coding/testfile32kHz.pcm");
|
||||
strcpy(fileName, "./data/audio_coding/testfile32kHz.pcm");
|
||||
frequencyHz = 32000;
|
||||
printf("\n\nEnter input file at side B [%s]: ", fileName);
|
||||
ChooseFile(fileName, 499, &frequencyHz);
|
||||
@@ -314,7 +314,7 @@ WebRtc_Word16 TwoWayCommunication::SetUpAutotest()
|
||||
|
||||
|
||||
//--- Input A
|
||||
strcpy(fileName, "./test/data/audio_coding/testfile32kHz.pcm");
|
||||
strcpy(fileName, "./data/audio_coding/testfile32kHz.pcm");
|
||||
frequencyHz = 16000;
|
||||
_inFileA.Open(fileName, frequencyHz, "rb");
|
||||
|
||||
@@ -328,7 +328,7 @@ WebRtc_Word16 TwoWayCommunication::SetUpAutotest()
|
||||
_outFileRefA.Open(refFileName, frequencyHz, "wb");
|
||||
|
||||
//--- Input B
|
||||
strcpy(fileName, "./test/data/audio_coding/testfile32kHz.pcm");
|
||||
strcpy(fileName, "./data/audio_coding/testfile32kHz.pcm");
|
||||
frequencyHz = 16000;
|
||||
_inFileB.Open(fileName, frequencyHz, "rb");
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
* Copyright (c) 2012 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
|
||||
@@ -184,7 +184,7 @@ ISACTest::Setup()
|
||||
CHECK_ERROR(_acmB->RegisterTransportCallback(_channel_B2A));
|
||||
_channel_B2A->RegisterReceiverACM(_acmA);
|
||||
|
||||
strncpy(_fileNameSWB, "./test/data/audio_coding/testfile32kHz.pcm",
|
||||
strncpy(_fileNameSWB, "./data/audio_coding/testfile32kHz.pcm",
|
||||
MAX_FILE_NAME_LENGTH_BYTE);
|
||||
|
||||
_acmB->RegisterSendCodec(_paramISAC16kHz);
|
||||
|
||||
Reference in New Issue
Block a user