- Add an Initialize() overload to allow specification of format parameters. This is mainly useful for testing, but could be used in the cases where a consumer knows the format before the streams arrive. - Add a reverse_sample_rate_hz_ parameter to prepare for mismatched capture and render rates. There is no functional change as it is currently constrained to match the capture rate. - Fix a bug in the float dump: we need to use add_ rather than set_. - Add a debug dump test for both int and float interfaces. - Enable unpacking of float dumps. - Enable audioproc to read float dumps. - Move more shared functionality to test_utils.h, and generally tidy up a bit by consolidating repeated code. BUG=2894 TESTED=Verified that the output produced by the float debug dump test is correct. Processed the resulting debug dump file with audioproc and ensured that we get identical output. (This is crucial, as we need to be able to exactly reproduce online results offline.) R=aluebs@webrtc.org Review URL: https://webrtc-codereview.appspot.com/9489004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5676 4adac7df-926f-26a2-2b94-8c16560cd09d
99 lines
5.6 KiB
Plaintext
99 lines
5.6 KiB
Plaintext
# Copyright (c) 2013 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.
|
|
{
|
|
'conditions': [
|
|
['OS=="android"', {
|
|
# When doing Android builds, the WebRTC code is put in third_party/webrtc
|
|
# of a Chromium checkout, this is one level above the standalone build.
|
|
'variables': {
|
|
'isolate_dependency_untracked': [
|
|
'../../../data/',
|
|
'../../../resources/',
|
|
],
|
|
},
|
|
}],
|
|
['OS=="linux" or OS=="mac" or OS=="win"', {
|
|
'variables': {
|
|
'command': [
|
|
'../../testing/test_env.py',
|
|
'<(PRODUCT_DIR)/modules_unittests<(EXECUTABLE_SUFFIX)',
|
|
],
|
|
'isolate_dependency_tracked': [
|
|
'../../DEPS',
|
|
'../../data/audio_processing/output_data_float.pb',
|
|
'../../data/voice_engine/audio_tiny48.wav',
|
|
'../../resources/att-downlink.rx',
|
|
'../../resources/att-uplink.rx',
|
|
'../../resources/audio_coding/neteq4_network_stats.dat',
|
|
'../../resources/audio_coding/neteq4_rtcp_stats.dat',
|
|
'../../resources/audio_coding/neteq4_universal_ref.pcm',
|
|
'../../resources/audio_coding/neteq_network_stats.dat',
|
|
'../../resources/audio_coding/neteq_rtcp_stats.dat',
|
|
'../../resources/audio_coding/neteq_universal_new.rtp',
|
|
'../../resources/audio_coding/neteq_universal_ref.pcm',
|
|
'../../resources/audio_coding/testfile32kHz.pcm',
|
|
'../../resources/deflicker_before_cif_short.yuv',
|
|
'../../resources/far16_stereo.pcm',
|
|
'../../resources/far32_stereo.pcm',
|
|
'../../resources/far8_stereo.pcm',
|
|
'../../resources/foremanColorEnhanced_cif_short.yuv',
|
|
'../../resources/foreman_cif.yuv',
|
|
'../../resources/foreman_cif_short.yuv',
|
|
'../../resources/near16_stereo.pcm',
|
|
'../../resources/near32_stereo.pcm',
|
|
'../../resources/near8_stereo.pcm',
|
|
'../../resources/ref03.aecdump',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_0_AST.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_0_TOF.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_1_AST.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_1_TOF.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_0_AST.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_0_TOF.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_1_AST.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_1_TOF.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingDelay1_0_AST.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingDelay1_0_TOF.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingLoss1_0_AST.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingLoss1_0_TOF.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Multi1_1_AST.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Multi1_1_TOF.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_0_AST.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_0_TOF.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_1_AST.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_1_TOF.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyDelay_0_AST.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyDelay_0_TOF.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyLoss_0_AST.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyLoss_0_TOF.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_UnlimitedSpeed_0_AST.bin',
|
|
'../../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_UnlimitedSpeed_0_TOF.bin',
|
|
'../../resources/sprint-downlink.rx',
|
|
'../../resources/sprint-uplink.rx',
|
|
'../../resources/synthetic-trace.rx',
|
|
'../../resources/tmobile-downlink.rx',
|
|
'../../resources/tmobile-uplink.rx',
|
|
'../../resources/verizon3g-downlink.rx',
|
|
'../../resources/verizon3g-uplink.rx',
|
|
'../../resources/verizon4g-downlink.rx',
|
|
'../../resources/verizon4g-uplink.rx',
|
|
'../../resources/video_coding/frame-ethernet-ii.pcap',
|
|
'../../resources/video_coding/frame-loopback.pcap',
|
|
'../../resources/video_coding/pltype103.rtp',
|
|
'../../resources/video_coding/ssrcs-2.pcap',
|
|
'../../resources/video_coding/ssrcs-3.pcap',
|
|
'../../testing/test_env.py',
|
|
'<(PRODUCT_DIR)/modules_unittests<(EXECUTABLE_SUFFIX)',
|
|
],
|
|
'isolate_dependency_untracked': [
|
|
'../../tools/swarming_client/',
|
|
],
|
|
},
|
|
}],
|
|
],
|
|
}
|