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
kjellander@webrtc.org
de011c1131
Enabling tests on Mac and Windows.
...
Enabling webrtc_utility_unittests on Windows (was never
added).
Enabling audio_device_test_api on Mac and Windows, since updated in r1861.
BUG=None
TEST=webrtc_utility_unittests in Debug+Release on Windows. audio_device_test_api in Debug+Release on Linux, Mac and Windows.
Review URL: https://webrtc-codereview.appspot.com/448001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1862 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-09 08:25:23 +00:00
kjellander@webrtc.org
67fdd70e1b
Refactoring audio_device_test_api for gtest and execution on all platforms.
...
All the code that was previously in one single function is now broken up into 44 gtest tests. The creation of the Audio Device is done once (SetUpTestCase) and the audio device is initialized before each test (SetUp) and terminated after each test (TearDown). Doing this, the things that execute are basically the same since the test was structured as different sections separated by these calls:
TEST(audioDevice->Terminate() == 0);
TEST(audioDevice->Init() == 0);
I also cleaned up some unused helper functions and removed old test macros when replacing them by gtest macros.
The parts that are failing for Mac and Windows are excluded using #ifdef. Separate issues are filed for
this code to be fixed.
Formatting is updated to follow the WebRTC style guide.
BUG=None.
TEST=audio_device_test_api in Debug+Release on Linux, Mac and Windows. Test run audio_device_test_func on Linux.
Review URL: https://webrtc-codereview.appspot.com/437002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1861 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-09 08:11:04 +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
tina.legrand@webrtc.org
f1befad273
Reregister of stereo receiver didn't work.
...
This CL takes care of the re-registration of codecs, and tests unregistering stereo codecs.
One bug fixed in Celt too.
TEST=audio_coding_module_test: TestStereo.
Review URL: https://webrtc-codereview.appspot.com/436002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1859 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-08 13:23:18 +00:00
henrikg@webrtc.org
50d9e26eea
Adds autoconnect and autocall functionality to web test page.
...
Use ?autoconnect=yes or ?autocall=name_to_call
BUG=313
Review URL: https://webrtc-codereview.appspot.com/439005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1858 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-08 09:53:55 +00:00
phoglund@webrtc.org
0e8b52c012
Rolled back and re-adapted the codec test.
...
I don't really think this solves the problem and it makes the code worse, but it seems to make the vie_auto_test binary usable again. I've never seen it chrash on the standard tests since I rewrote it. It can still chrash on the API tests and extended tests though, which indicates that there is a fundamental design / threading problem somewhere, like we suspected. I think this is a kind of progress for now since we can use vie_auto_test to detect new errors again.
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/425003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1857 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-08 09:19:31 +00:00
phoglund@webrtc.org
843d8efd90
Removed flaky dependencies temporarily since they stop developers from doing private builds.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/435003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1856 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-08 08:35:53 +00:00
mflodman@webrtc.org
7845d07bf8
VideoCapture now uses pointer constructor of CriticalSectionScoped.
...
BUG=184
TEST=video_capture_module compiles on all platforms when removing ref ctor of CriticalSectionScoped.
Review URL: https://webrtc-codereview.appspot.com/434001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1855 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-08 08:09:17 +00:00
marpan@webrtc.org
accf607b3e
Updates for resolution adaptation.
...
1) added support for two additional modes:
-3/4 spatial down-sampling
-2/3 frame rate reduction
2) updated unittest and added a few more tests
3) some code refactoring
Review URL: https://webrtc-codereview.appspot.com/429005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1854 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-07 17:16:10 +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
1d27039612
Disable CreateWindowManagerForCurrentPlatform on android
...
Review URL: https://webrtc-codereview.appspot.com/436003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1852 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 22:48:43 +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
57da718734
Fix building errors on android
...
TBR=mflodman
Review URL: https://webrtc-codereview.appspot.com/441001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1850 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 21:28:48 +00:00
leozwang@webrtc.org
77fe431f57
Enable video render test on android
...
Review URL: https://webrtc-codereview.appspot.com/428006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1849 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 20:59: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
phoglund@webrtc.org
9b3ab115ad
Re-enabled quick builds on Windows.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/438001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1845 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 15:26:00 +00:00
mflodman@webrtc.org
e22c5c3870
Disable REMB test when using vivi.
...
BUG=321
TEST=vie_auto_test
Review URL: https://webrtc-codereview.appspot.com/435001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1844 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 12:49:33 +00:00
mflodman@webrtc.org
0e703f4d0d
VideoRender now uses pointer constructor of CriticalSectionScoped.
...
BUG=184
TEST=video_render_module compiles on all platforms when removing ref ctor of
CriticalSectionScoped.
Review URL: https://webrtc-codereview.appspot.com/427004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1843 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 12:02:20 +00:00
mflodman@webrtc.org
3e664faad6
Temporarily disabling flaky RTP test.
...
TBR=kjellander@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/430004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1842 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 20:30:35 +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
db2de5b49f
Fix building errors on android
...
TBR=Tina
BUG=
TEST=build on android
Review URL: https://webrtc-codereview.appspot.com/430001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1840 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 19:53:24 +00:00
leozwang@webrtc.org
66487e1629
Enable video test on android
...
Review URL: https://webrtc-codereview.appspot.com/429006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1839 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 19:34:06 +00:00
leozwang@webrtc.org
8ea37f4f26
Fix building error on windows
...
TBR=mflodman
Review URL: https://webrtc-codereview.appspot.com/427006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1838 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 18:05:08 +00:00
mflodman@webrtc.org
c7ae13da42
Update makefile.
...
TBR=leozwang@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/430003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1837 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 17:34:05 +00:00
mflodman@webrtc.org
9ec883e8bd
Allow multiple REMB groups and introduce receive channels.
...
BUG=312
TEST=ViE standard autotest and API test.
Review URL: https://webrtc-codereview.appspot.com/432005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1836 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 17:12:41 +00:00
leozwang@webrtc.org
855ced7336
Further cleanup WebRtc_Word8
...
Review URL: https://webrtc-codereview.appspot.com/426008
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1835 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 16:07:51 +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
kjellander@webrtc.org
ba15221de5
Enabling vp8_unittests on Mac
...
BUG=Issue 273
TEST=vp8_unittests in Release mode on Mac.
Review URL: https://webrtc-codereview.appspot.com/426011
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1833 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 12:01:05 +00:00
mflodman@webrtc.org
fa6bc673b0
Changed default module condition for BW estimate.
...
Review URL: https://webrtc-codereview.appspot.com/433001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1832 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 11:59:55 +00:00
leozwang@webrtc.org
9f6bd51582
Update libvpx configuration file for arm
...
Review URL: https://webrtc-codereview.appspot.com/428007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1831 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-02 17:30:30 +00:00
leozwang@webrtc.org
42e362eee5
Fix compilation error on android
...
Review URL: https://webrtc-codereview.appspot.com/426006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1830 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-02 17:14:09 +00:00
leozwang@webrtc.org
3197d48407
Enable audio device test on android
...
Review URL: https://webrtc-codereview.appspot.com/428005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1829 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-02 17:12:14 +00:00
leozwang@webrtc.org
c868b99ff3
Remove building errors in autotest
...
Review URL: https://webrtc-codereview.appspot.com/432004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1828 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-02 17:02:51 +00:00
marpan@webrtc.org
26762e3e40
Allow for spatial-downsampling without reinitializaing encoder. Change of frame
...
size will automatically trigger new key frame in codec. This feature is set off
in video engine until we upgrade to a newer version of libvpx.
Review URL: https://webrtc-codereview.appspot.com/427003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1827 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-02 16:48:36 +00:00
kjellander@webrtc.org
9457422032
Adding flag to make it possible to skip resources download. This makes development of buildbot code easier to test.
...
I also took the chance to refactor the code from a long main method into a couple of functions instead.
Download progress also improved a bit.
Added a new flag (--base_url) to make it possible to use another Base URL instead of the default one.
BUG=None
TEST=Tested on local machine with various
Review URL: https://webrtc-codereview.appspot.com/431003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1826 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-02 13:44:44 +00:00
phoglund@webrtc.org
bfd316904a
We can now parse exception statuses as well.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/429002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1825 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-02 12:37:28 +00:00
phoglund@webrtc.org
528df57955
Always nuke on windows for now.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/426003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1824 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-02 09:47:49 +00:00
leozwang@webrtc.org
fa8c9f7a4f
Remove unused variable
...
Review URL: https://webrtc-codereview.appspot.com/432003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1823 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-02 07:15:03 +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
kma@webrtc.org
beb1851c2a
Refactored and further optimized WebRtcSpl_MaxAbsValueW16() function in splib.
...
Review URL: https://webrtc-codereview.appspot.com/395008
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1820 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-01 20:03:26 +00:00
leozwang@webrtc.org
c9a3b81fd2
Further cleanup WebRtc_Word8 in video_capture on mac
...
BUG=311
TBR=Wu, Mallinath
Review URL: https://webrtc-codereview.appspot.com/431002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1819 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-01 19:59:52 +00:00
leozwang@webrtc.org
4add6bc603
Fix building errors on window which caused by previous cl
...
BUG=311
TBR=Wu, Mallinath
Review URL: https://webrtc-codereview.appspot.com/432002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1818 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-01 19:57:13 +00:00
leozwang@webrtc.org
09e771998c
Correct WebRtc_word8 usage in media file 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/427002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1817 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-01 18:35:54 +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
leozwang@webrtc.org
39e9659fc6
Correct wrong usage of WebRtc_Word8 in video enigne
...
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/428002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1815 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-01 18:22:48 +00:00
leozwang@webrtc.org
28f3913ca9
Correct WebRtc_Word8 in adm
...
Correct WebRtc_Word8 usage in adm
BUG=http://code.google.com/p/webrtc/issues/detail?id=311&sort=-id
TEST=buidl on all platforms
Review URL: https://webrtc-codereview.appspot.com/428001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1814 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-01 18:01:48 +00:00