Provide a default return value for mock_audio_device_.TimeUntilNextProcess.
By default the return value will be 0, which if we hit, could cause busy loops. BUG=webrtc:7187 Review-Url: https://codereview.webrtc.org/2750503002 Cr-Commit-Position: refs/heads/master@{#17213}
This commit is contained in:
parent
96feb2ac1c
commit
8eb0751b2e
@ -55,6 +55,8 @@ class MockVoiceEngine : public VoiceEngineImpl {
|
||||
return proxy;
|
||||
}));
|
||||
|
||||
ON_CALL(mock_audio_device_, TimeUntilNextProcess())
|
||||
.WillByDefault(testing::Return(1000));
|
||||
ON_CALL(*this, audio_device_module())
|
||||
.WillByDefault(testing::Return(&mock_audio_device_));
|
||||
ON_CALL(*this, audio_processing())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user