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

Unified Diff: content/renderer/media/audio_renderer_mixer_manager.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
Index: content/renderer/media/audio_renderer_mixer_manager.h
diff --git a/content/renderer/media/audio_renderer_mixer_manager.h b/content/renderer/media/audio_renderer_mixer_manager.h
index 8b13388de2599c7acbf4d968f1b80d5b8d97b60e..a245a10294bc02df005fb9408804d4cd82944131 100644
--- a/content/renderer/media/audio_renderer_mixer_manager.h
+++ b/content/renderer/media/audio_renderer_mixer_manager.h
@@ -13,7 +13,7 @@
#include "base/synchronization/lock.h"
#include "content/common/content_export.h"
#include "media/audio/audio_parameters.h"
-#include "media/base/output_device.h"
+#include "media/base/output_device_info.h"
#include "url/origin.h"
namespace media {
@@ -119,23 +119,10 @@ class CONTENT_EXPORT AudioRendererMixerManager {
typedef std::map<MixerKey, AudioRendererMixerReference, MixerKeyCompare>
AudioRendererMixerMap;
- // Overrides the AudioRendererSink implementation for unit testing.
- void SetAudioRendererSinkForTesting(media::AudioRendererSink* sink);
-
- // A helper to get hardware output parameters in the absence of
- // AudioOutputDevice.
- static media::AudioParameters GetHardwareOutputParams(
- int render_frame_id,
- int session_id,
- const std::string& device_id,
- const url::Origin& security_origin);
-
// Active mixers.
AudioRendererMixerMap mixers_;
base::Lock mixers_lock_;
- media::AudioRendererSink* sink_for_testing_;
-
DISALLOW_COPY_AND_ASSIGN(AudioRendererMixerManager);
};
« no previous file with comments | « content/renderer/media/audio_device_factory.cc ('k') | content/renderer/media/audio_renderer_mixer_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698