Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1192)

Unified Diff: webrtc/modules/audio_device/dummy/audio_device_dummy.cc

Issue 2783673002: Make dummy device succeed at stopping recording/playout. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_device/dummy/audio_device_dummy.cc
diff --git a/webrtc/modules/audio_device/dummy/audio_device_dummy.cc b/webrtc/modules/audio_device/dummy/audio_device_dummy.cc
index 49619378695284965dc6e65356d0631eed2636c9..558bd1b4368412a42a54ca684eae7ccf55a4c164 100644
--- a/webrtc/modules/audio_device/dummy/audio_device_dummy.cc
+++ b/webrtc/modules/audio_device/dummy/audio_device_dummy.cc
@@ -69,13 +69,13 @@ bool AudioDeviceDummy::RecordingIsInitialized() const { return false; }
int32_t AudioDeviceDummy::StartPlayout() { return -1; }
-int32_t AudioDeviceDummy::StopPlayout() { return -1; }
+int32_t AudioDeviceDummy::StopPlayout() { return 0; }
bool AudioDeviceDummy::Playing() const { return false; }
int32_t AudioDeviceDummy::StartRecording() { return -1; }
-int32_t AudioDeviceDummy::StopRecording() { return -1; }
+int32_t AudioDeviceDummy::StopRecording() { return 0; }
bool AudioDeviceDummy::Recording() const { return false; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698