Prepares a move all data files required by VoiceEngine into one common place.

A new folder called test/data/voice_engine will be created and all files
will be placed here.
Review URL: http://webrtc-codereview.appspot.com/61004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@145 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrika@google.com 2011-07-04 15:52:04 +00:00
parent 2e8a1a2092
commit d6552174c4
39 changed files with 6 additions and 50 deletions

View File

@ -42,15 +42,14 @@
{ {
'action_name': 'copy audio file', 'action_name': 'copy audio file',
'inputs': [ 'inputs': [
'voice_engine/main/test/auto_test/audio_long16.pcm', 'test/data/voice_engine/audio_long16.pcm',
], ],
'outputs': [ 'outputs': [
'/tmp/audio_long16.pcm', '/tmp/audio_long16.pcm',
], ],
'action': [ 'action': [
'/bin/sh', '-c', '/bin/sh', '-c',
'cp -f voice_engine/main/test/auto_test/audio_* /tmp/;'\ 'cp -f test/data/voice_engint/audio_* /tmp/;'\
'cp -f voice_engine/main/test/auto_test/audio_short16.pcm /tmp/;',
], ],
}, },
], ],
@ -65,27 +64,14 @@
{ {
'action_name': 'copy audio file', 'action_name': 'copy audio file',
'inputs': [ 'inputs': [
'voice_engine/main/test/auto_test/audio_long16.pcm', 'test/data/voice_engine/audio_long16.pcm',
], ],
'outputs': [ 'outputs': [
'/tmp/audio_long16.pcm', '/tmp/audio_long16.pcm',
], ],
'action': [ 'action': [
'cmd', '/c', 'cmd', '/c',
'xcopy /Y /R .\\voice_engine\\main\\test\\auto_test\\audio_* \\tmp', 'xcopy /Y /R .\\test\\data\\voice_engine\\audio_* \\tmp',
],
},
{
'action_name': 'copy audio audio_short16.pcm',
'inputs': [
'voice_engine/main/test/auto_test/audio_short16.pcm',
],
'outputs': [
'/tmp/audio_short16.pcm',
],
'action': [
'cmd', '/c',
'xcopy /Y /R .\\voice_engine\\main\\test\\auto_test\\audio_short16.pcm \\tmp',
], ],
}, },
], ],
@ -135,40 +121,14 @@
{ {
'action_name': 'copy audio file', 'action_name': 'copy audio file',
'inputs': [ 'inputs': [
'voice_engine/main/test/win_test/audio_tiny11.wav', 'test/data/voice_engine/audio_tiny11.wav',
], ],
'outputs': [ 'outputs': [
'/tmp/audio_tiny11.wav', '/tmp/audio_tiny11.wav',
], ],
'action': [ 'action': [
'cmd', '/c', 'cmd', '/c',
'xcopy /Y /R .\\voice_engine\\main\\test\\win_test\\audio_* \\tmp', 'xcopy /Y /R .\\test\\data\\voice_engine\\audio_* \\tmp',
],
},
{
'action_name': 'copy audio audio_short16.pcm',
'inputs': [
'voice_engine/main/test/win_test/audio_short16.pcm',
],
'outputs': [
'/tmp/audio_short16.pcm',
],
'action': [
'cmd', '/c',
'xcopy /Y /R .\\voice_engine\\main\\test\\win_test\\audio_short16.pcm \\tmp',
],
},
{
'action_name': 'copy audio_long16noise.pcm',
'inputs': [
'voice_engine/main/test/win_test/audio_long16noise.pcm',
],
'outputs': [
'/tmp/audio_long16noise.pcm',
],
'action': [
'cmd', '/c',
'xcopy /Y /R .\\voice_engine\\main\\test\\win_test\\audio_long16noise.pcm \\tmp',
], ],
}, },
], ],

View File

@ -1,4 +0,0 @@
Use RTP Play tool with command 'rtpplay.exe -v -T -f <path>\<file.rtp> 127.0.0.1/1236'
Example: rtpplay.exe -v -T -f hrtf_g722_1C_48.rtp 127.0.0.1/1236.
This sends the stereo rtp file to port 1236.
You can hear the voice getting panned from left, right and center.