Fix error in mixing test for supported sample rates.
With the switch to an arbitrary resampler, we now support these strange rates. TBR=turaj Review URL: https://webrtc-codereview.appspot.com/1604004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4158 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
fa64a595ad
commit
0a38432ea5
@ -146,7 +146,7 @@ TEST_F(ExternalMediaTest,
|
|||||||
|
|
||||||
TEST_F(ExternalMediaTest,
|
TEST_F(ExternalMediaTest,
|
||||||
ExternalMixingResamplingToInvalidFrequenciesFails) {
|
ExternalMixingResamplingToInvalidFrequenciesFails) {
|
||||||
const int kInvalidFrequencies[] = {-8000, -1, 1, 1000, 8001, 16001};
|
const int kInvalidFrequencies[] = {-8000, -1};
|
||||||
webrtc::AudioFrame frame;
|
webrtc::AudioFrame frame;
|
||||||
PausePlaying();
|
PausePlaying();
|
||||||
EXPECT_EQ(0, voe_xmedia_->SetExternalMixing(channel_, true));
|
EXPECT_EQ(0, voe_xmedia_->SetExternalMixing(channel_, true));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user