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

Unified Diff: media/audio/null_audio_sink.cc

Issue 2533443002: fallback to null sink in WebAudioSourceProvider::Initialize() + UMA stats for device status (Closed)
Patch Set: review comments addressed 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 9e3d1f8b707e6f586c5f4e08f3c5126828ee8668..78dfbc90d9913888b3f7541eb0d8fcfed5a0414f 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