braveyao@webrtc.org
d713143d99
To support playing mono file with stereo codec as mixing with microphone capture
...
BUG=413
TEST=Manual test.
Review URL: https://webrtc-codereview.appspot.com/460004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1953 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-29 10:39:44 +00:00
niklas.enbom@webrtc.org
40197d7b3b
Fixing build issus on non-Win
...
TBR: bjornv
Review URL: https://webrtc-codereview.appspot.com/460005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1940 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-26 08:45:47 +00:00
niklas.enbom@webrtc.org
5398d9583b
Force commit of 449006'
...
Review URL: https://webrtc-codereview.appspot.com/455006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1939 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-26 08:11:25 +00:00
mflodman@webrtc.org
3e820e5109
Remove RTP Keep-alive from VoE and ViE. The RTP module functionality will be removed in a follow-up CL shortly.
...
TEST=VoE autotest and ViE autotest
Review URL: https://webrtc-codereview.appspot.com/458002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1929 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-23 09:41:44 +00:00
phoglund@webrtc.org
4aa57b4150
Extracted a helper library from vie_auto_test.
...
This CL does not attempt to fix the style issues in the moved tb_ files, at least not yet. In general I've tried to avoid dependencies between the library and vie_auto_test: vie_auto_test depends on the library but not the other way around. I had to make some slight changes to achieve this. I had to remove some ViETest::Log statements in tb_interfaces.cc and I had to move knowledge of where to put output files to the library. I think it ended up being pretty clean in the end but let me know if I missed something. I tried to convert all paths I touched to src-relative paths, so look out if I missed something there.
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/450004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1923 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-22 12:56:54 +00:00
phoglund@webrtc.org
aaf62ac019
Temporarily disabled flaky tests.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/446010
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1919 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-21 08:04:43 +00:00
phoglund@webrtc.org
7e26ad3828
Disabled more flaky volume tests.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/451012
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1902 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-16 09:46:52 +00:00
henrika@webrtc.org
907bc55c19
Removes WebRtc_Word8 dependecy in the AudioDeviceModule.
...
This CL also modifies the ADM callback interface and introduces void* instead of WebRtc_Word8*
as pointer types for data buffers. This change also affects the VoiceEngine.
Review URL: https://webrtc-codereview.appspot.com/443001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1863 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-09 08:59:19 +00:00
andrew@webrtc.org
8012474552
Use a const rather than macro for EcDefault.
...
- This should be a better solution to the build error in
https://webrtc-codereview.appspot.com/425005
- Ideally all of the similar macros should go away, but one thing at
a time...
BUG=
TEST=voe_auto_test
Review URL: https://webrtc-codereview.appspot.com/438002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1860 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-08 17:54:24 +00:00
mflodman@webrtc.org
9a065d1eae
VoiceEngine now uses pointer constructor of CriticalSectionScoped, instead of reference.
...
BUG=184
TEST=Compiles on all platforms.
Review URL: https://webrtc-codereview.appspot.com/436001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1853 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-07 08:12:21 +00:00
leozwang@webrtc.org
30185916aa
Fix error in test app which was introduced when payload type was converted to int
...
TBR=mflodman, phoglund
Review URL: https://webrtc-codereview.appspot.com/439004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1851 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 21:43:55 +00:00
leozwang@webrtc.org
0975d2158c
Cleanup messy data type of unknown_payload_type
...
BUG=322
TEST=build on all platforms
Review URL: https://webrtc-codereview.appspot.com/430002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1848 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 20:59:13 +00:00
andrew@webrtc.org
8b111eb3e6
Reformat voe_audio_processing_impl to Goog style.
...
TBR=xians@webrtc.org
BUG=
TEST=voe_auto_test
Review URL: https://webrtc-codereview.appspot.com/439003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1847 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 19:50:12 +00:00
andrew@webrtc.org
6f9f817e06
Add an API to offset system delay.
...
Plumb it through VoiceEngine.
BUG=
TEST=voe_auto_test,audioproc_unittest
Review URL: https://webrtc-codereview.appspot.com/428010
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1846 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 19:03:39 +00:00
leozwang@webrtc.org
53ed5a41a2
Fix building errors and enable test app
...
TEST=build on all platforms
Review URL: https://webrtc-codereview.appspot.com/428008
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1841 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 20:15:58 +00:00
leozwang@webrtc.org
e47efe291e
Fix building error on android
...
Review URL: https://webrtc-codereview.appspot.com/425005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1834 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 16:05:30 +00:00
andrew@webrtc.org
d62d7301f4
Remove TARGET_PC and cruft from typedefs.h.
...
Additionally remove all TARGET defines (e.g. TARGET_MAC), which weren't used anyway.
BUG=
TEST=build on Linux, Mac, Win
Review URL: https://webrtc-codereview.appspot.com/432001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1822 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-01 21:39:57 +00:00
andrew@webrtc.org
fa2f5627ca
Change error code.
...
TBR=henrika@webrtc.org
BUG=
TEST=build
Review URL: https://webrtc-codereview.appspot.com/429004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1821 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-01 21:19:01 +00:00
leozwang@webrtc.org
813e4b0af0
Correct WebRtc_Word8 in voice engine
...
BUG=http://code.google.com/p/webrtc/issues/detail?id=311&sort=-id
TEST=build on all platforms
Review URL: https://webrtc-codereview.appspot.com/425002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1816 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-01 18:34:25 +00:00
andrew@webrtc.org
0e28566247
Only reset AudioProcessing if number of channels has changed.
...
Calling SetSendCodec() would always reset AudioProcessing.
BUG=
TEST=voe_auto_test
Review URL: https://webrtc-codereview.appspot.com/417002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1799 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-29 17:00:56 +00:00
leozwang@webrtc.org
07c68b9c9d
Correct wrong usage of WebRtc_Word8 in rtp and udp module
...
BUG=http://code.google.com/p/webrtc/issues/detail?id=311&sort=-id
TEST=build on all platforms
Review URL: https://webrtc-codereview.appspot.com/418001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1798 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-29 16:09:51 +00:00
phoglund@webrtc.org
2d124f3d88
Enabled the volume tests we believe are nonflaky and the vie_auto_test extended tests.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/422002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1797 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-29 14:34:06 +00:00
phoglund@webrtc.org
b45ceed9ef
Rewrote the call report test.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/399006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1726 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-20 08:55:04 +00:00
leozwang@webrtc.org
a52838b684
Update Android.mk and add test app
...
Review URL: https://webrtc-codereview.appspot.com/388010
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1713 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-17 01:16:43 +00:00
xians@webrtc.org
3ab6dda5cb
Truncated the volume to 255 when the users set the volume above 100%.
...
Allowed the users to set the volume above 100% when AGC is enabled, in this case AGC can gradually scale down the volume instead of jumping to 100% immediately.
Reduced the flakiness of the volume tests in linux.
Review URL: https://webrtc-codereview.appspot.com/387011
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1706 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-16 18:15:54 +00:00
braveyao@webrtc.org
59d6cec291
Fix the crash at playing 48kHz stereo wav file.
...
http://code.google.com/p/webrtc/issues/detail?id=208
Review URL: https://webrtc-codereview.appspot.com/396001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1681 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-14 18:17:16 +00:00
phoglund@webrtc.org
292da24166
New attempt.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/391006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1672 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-10 15:21:33 +00:00
phoglund@webrtc.org
dbe1e13b53
Fixed compilation error on Windows.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/389007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1670 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-10 14:03:44 +00:00
phoglund@webrtc.org
6b3bb89f12
Rewrote file test.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/391004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1668 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-10 12:14:54 +00:00
phoglund@webrtc.org
aaa76f3ba8
Rewrote network test.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/383003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1656 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-09 16:41:30 +00:00
phoglund@webrtc.org
78088c2f36
Removed warnings on Windows and enabled warnings-as-errors on Windows.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/377004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1624 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-07 14:56:45 +00:00
niklas.enbom@webrtc.org
87885e8409
This CL will look a bit strange. Essentially I've removed sanity checks for > 1 channel and then fixed the bugs that remained. Will add testing in a separate CL.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/390001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1623 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-07 14:48:59 +00:00
wu@webrtc.org
06c7dbae14
Disable flaky test AudioProcessingTest.TestVoiceActivityDetectionWithObserver.
...
BUG=263
TBR=phoglund@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/380009
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1615 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-06 23:13:21 +00:00
phoglund@webrtc.org
56b85c6ba8
Reduced potential for flakiness in voice detection tests.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/367024
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1612 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-06 18:48:33 +00:00
mflodman@webrtc.org
c80d9d9361
Removed default cases causing clang errors, -Wcovered-switch-default.
...
BUG=
TEST=Bulid with clang version 3.1 (trunk 148911)
Review URL: https://webrtc-codereview.appspot.com/379008
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1604 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-06 10:11:25 +00:00
kma@webrtc.org
de66b91274
In voice engine, added member audioFrame to classes AudioCodingModuleImpl and VoEBaseImpl,
...
and touched VoEBaseImpl::NeedMorePlayData and AudioCodingModuleImpl::PlayoutData10Ms(), for
performance reasons in Android platforms.
The two functions used about 6% of VoE originally. After the change, the percentage reduced
to about 0.2%.
Review URL: https://webrtc-codereview.appspot.com/379001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1589 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-01 18:39:44 +00:00
xians@webrtc.org
79af734807
This patch fixes the converity warnings in voice engine.
...
Review URL: https://webrtc-codereview.appspot.com/373017
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1579 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-31 12:22:14 +00:00
henrika@webrtc.org
2919e95c2a
Resolves Coverty issue #10347 .
...
Uninitialized member (UNINIT_CTOR).
Review URL: https://webrtc-codereview.appspot.com/369023
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1577 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-31 08:45:03 +00:00
phoglund@webrtc.org
048eb7cda6
Finished rewriting the audio processing test.
...
Partial rewrite of audio processing tests.
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/367008
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1561 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-27 11:58:41 +00:00
andrew@webrtc.org
b9d7d934de
Rename interface/ to include/ in audio_processing.
...
BUG=none
TEST=build on Linux.
Review URL: https://webrtc-codereview.appspot.com/367007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1552 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-25 19:21:13 +00:00
andrew@webrtc.org
24bd58e689
Properly count anonymous mixing participants.
...
When _amountOfMixableParticipants == 1, we skip mixing and saturation
protection. Without this fix, an anonymous participant would only be
properly counted if it was the last added.
For example, if an anonymous participant was added first, followed by
a regular participant, _amoutOfMixableParticipants would == 1 and the
regular participant would not be mixed.
BUG=issue209
TEST=New test added to voe_auto_test to verify, and used voe_cmd_test.
Review URL: https://webrtc-codereview.appspot.com/367006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1551 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-25 18:57:44 +00:00
andrew@webrtc.org
eeaf3d1fc1
Merge /branches/3.2:r1380 to /trunk
...
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1523 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-24 06:30:02 +00:00
leozwang@webrtc.org
f5cacdce8c
Fix line aligement
...
Review URL: https://webrtc-codereview.appspot.com/373002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1516 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-23 23:14:13 +00:00
phoglund@webrtc.org
12dbc23851
Rewrote volume test.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/367004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1506 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-23 16:03:04 +00:00
phoglund@webrtc.org
3b57ee0238
Rewrote DTMF test.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/368001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1502 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-23 09:22:33 +00:00
leozwang@webrtc.org
2638577f03
Add an argument in ANDROID_NOT_SUPPORT macro
...
Review URL: https://webrtc-codereview.appspot.com/363003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1499 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-20 18:45:45 +00:00
tommi@webrtc.org
9ff87db5c0
Remove the diamond inheritance pattern from VoEVideoSyncImpl in attempt to see if this fixes coverity reports.
...
CID=10446,10445,10444,10443
Review URL: https://webrtc-codereview.appspot.com/343018
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1472 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-19 15:05:36 +00:00
punyabrata@webrtc.org
ad1927d368
Changing the typing detection sensitivity as the current
...
setting does not work well in some scenarios especially
using webcams with built-in microphones.
Review URL: https://webrtc-codereview.appspot.com/349009
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1455 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-18 18:53:04 +00:00
phoglund@webrtc.org
5badc7e969
Put system cpu tests back in, improved documentation.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/350011
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1452 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-18 10:46:07 +00:00
phoglund@webrtc.org
c12f815de6
Rewrote hardware test and fixed broken tests on Windows.
...
Fixed broken tests on Windows, including old tests.
Rewrote hardware test.
BUG=
TEST=
Review URL: http://webrtc-codereview.appspot.com/347008
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1434 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-16 12:40:18 +00:00