common_audio: Removes macro WEBRTC_SPL_SHIFT_W16
We should avoid macros in general (see style guide). This shift macro is not a severe one, since there is a check for negativity. BUG=3348,3353 TESTED=trybots and manually R=kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/15799004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6591 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -79,7 +79,6 @@ TEST_F(SplTest, MacroTest) {
|
||||
// Shifting with negative numbers allowed
|
||||
int shift_amount = 1; // Workaround compiler warning using variable here.
|
||||
// Positive means left shift
|
||||
EXPECT_EQ(32766, WEBRTC_SPL_SHIFT_W16(a, shift_amount));
|
||||
EXPECT_EQ(32766, WEBRTC_SPL_SHIFT_W32(a, shift_amount));
|
||||
|
||||
// Shifting with negative numbers not allowed
|
||||
|
||||
Reference in New Issue
Block a user