common_audio/signal_processing: Removed macro WEBRTC_SPL_MAX_SEED_USED
* Moved the macro to randomization_functions and made it static const. * Made WebRtc_IncreaseSeed() static, since it is not used outside this function. * Style guide changes. BUG=3348,3353 TESTED=trybots, common_audio_unittests, modules_unittests, modules_tests R=tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/21459004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6179 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -489,7 +489,7 @@ TEST_F(SplTest, RandTest) {
|
||||
int16_t b16[kVectorSize];
|
||||
uint32_t bSeed = 100000;
|
||||
|
||||
EXPECT_EQ(464449057u, WebRtcSpl_IncreaseSeed(&bSeed));
|
||||
EXPECT_EQ(7086, WebRtcSpl_RandU(&bSeed));
|
||||
EXPECT_EQ(31565, WebRtcSpl_RandU(&bSeed));
|
||||
EXPECT_EQ(-9786, WebRtcSpl_RandN(&bSeed));
|
||||
EXPECT_EQ(kVectorSize, WebRtcSpl_RandUArray(b16, kVectorSize, &bSeed));
|
||||
|
||||
Reference in New Issue
Block a user