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

Unified Diff: media/audio/null_audio_sink.cc

Issue 2569883003: Fallback to null sink moved from WebMediaPlayer to WebAudioSourceProvider::Initialize(), so that we… (Closed)
Patch Set: Created 4 years 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 | « media/audio/audio_output_device.cc ('k') | media/base/output_device_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/null_audio_sink.cc
diff --git a/media/audio/null_audio_sink.cc b/media/audio/null_audio_sink.cc
index 43221998047be13c71ea127f65ffba6792998295..dc027e70debfe3cd89e364b62066e988dddc712f 100644
--- a/media/audio/null_audio_sink.cc
+++ b/media/audio/null_audio_sink.cc
@@ -76,7 +76,7 @@ bool NullAudioSink::SetVolume(double volume) {
}
OutputDeviceInfo NullAudioSink::GetOutputDeviceInfo() {
- return OutputDeviceInfo();
+ return OutputDeviceInfo(OUTPUT_DEVICE_STATUS_OK);
}
bool NullAudioSink::CurrentThreadIsRenderingThread() {
« no previous file with comments | « media/audio/audio_output_device.cc ('k') | media/base/output_device_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698