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

Unified Diff: media/audio/clockless_audio_sink.h

Issue 1809093003: Moving SwitchOutputDevice out of OutputDevice interface, eliminating OutputDevice (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 | « media/audio/audio_parameters.cc ('k') | media/audio/clockless_audio_sink.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/clockless_audio_sink.h
diff --git a/media/audio/clockless_audio_sink.h b/media/audio/clockless_audio_sink.h
index aad71b8431ec8dc51cb6cd8dc2f2ae56114f5a29..f458b9f6c560172870ab0836a69dd788122b11fd 100644
--- a/media/audio/clockless_audio_sink.h
+++ b/media/audio/clockless_audio_sink.h
@@ -19,7 +19,6 @@ class SingleThreadTaskRunner;
namespace media {
class AudioBus;
class ClocklessAudioSinkThread;
-class OutputDevice;
// Implementation of an AudioRendererSink that consumes the audio as fast as
// possible. This class does not support multiple Play()/Pause() events.
@@ -36,7 +35,7 @@ class MEDIA_EXPORT ClocklessAudioSink
void Pause() override;
void Play() override;
bool SetVolume(double volume) override;
- OutputDevice* GetOutputDevice() override;
+ OutputDeviceInfo GetOutputDeviceInfo() override;
// Returns the time taken to consume all the audio.
base::TimeDelta render_time() { return playback_time_; }
« no previous file with comments | « media/audio/audio_parameters.cc ('k') | media/audio/clockless_audio_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698