Don't fail SetStereoPlayout(false) for Android devices.
It isn't implemented, but failing produces warning messages in logs from code that just does the equivalent of: SetStereoPlayout(StereoPlayoutIsAvailable) BUG=none Specifically: https://cs.chromium.org/chromium/src/third_party/webrtc/voice_engine/voe_base_impl.cc?l=323 Change-Id: Iad1b026d903bbab74923db35bde50054f125d84b Reviewed-on: https://chromium-review.googlesource.com/612218 Reviewed-by: Henrik Andreasson <henrika@webrtc.org> Commit-Queue: Henrik Andreasson <henrika@webrtc.org> Cr-Commit-Position: refs/heads/master@{#19365}
This commit is contained in:
parent
7fbeb0b3c9
commit
3004fd0888
@ -377,7 +377,9 @@ class AudioDeviceTemplate : public AudioDeviceGeneric {
|
||||
// TODO(henrika): add support.
|
||||
int32_t SetStereoPlayout(bool enable) override {
|
||||
LOG(INFO) << __FUNCTION__;
|
||||
return -1;
|
||||
// Allow disabling stereo playout, as that matches returning false(0) from
|
||||
// StereoPlayoutIsAvailable and is the default case.
|
||||
return enable ? -1 : 0;
|
||||
}
|
||||
|
||||
// TODO(henrika): add support.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user