Index: media/audio/null_audio_sink.cc |
diff --git a/media/audio/null_audio_sink.cc b/media/audio/null_audio_sink.cc |
index e9f65fd49c41900da649807553de09abe09be6b7..6d40c93e2b67a28a71aaf7840977a6258408972f 100644 |
--- a/media/audio/null_audio_sink.cc |
+++ b/media/audio/null_audio_sink.cc |
@@ -75,8 +75,14 @@ bool NullAudioSink::SetVolume(double volume) { |
return volume == 0.0; |
} |
-OutputDevice* NullAudioSink::GetOutputDevice() { |
- return nullptr; |
+OutputDeviceInfo NullAudioSink::GetOutputDeviceInfo() { |
+ return OutputDeviceInfo(); |
+} |
+ |
+void NullAudioSink::SwitchOutputDevice(const std::string& device_id, |
+ const url::Origin& security_origin, |
+ const OutputDeviceStatusCB& callback) { |
+ callback.Run(OUTPUT_DEVICE_STATUS_ERROR_INTERNAL); |
} |
void NullAudioSink::CallRender() { |