From adba07359216f215d3edb72084d0de69eac4d4a2 Mon Sep 17 00:00:00 2001 From: "dalecurtis@chromium.org" Date: Wed, 4 Dec 2013 08:33:59 +0000 Subject: Plumb AudioLog support into AudioManager. AudioManager is now also an AudioLogFactory. Changing the constructor of AudioManager isn't viable due to its psuedo-singleton behavior, so MediaInternal's AudioLogFactory must be injected after construction. The next step after this CL is to have AudioOutputDispatcherImpl objects own an AudioLog instance. BUG=260005 TEST=none, just plumbing. Review URL: https://codereview.chromium.org/99733004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238637 0039d316-1c4b-4281-b951-d872f2087c98 --- media/audio/cras/audio_manager_cras.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'media/audio/cras/audio_manager_cras.h') diff --git a/media/audio/cras/audio_manager_cras.h b/media/audio/cras/audio_manager_cras.h index 3b0ef53..589374a 100644 --- a/media/audio/cras/audio_manager_cras.h +++ b/media/audio/cras/audio_manager_cras.h @@ -15,7 +15,7 @@ namespace media { class MEDIA_EXPORT AudioManagerCras : public AudioManagerBase { public: - AudioManagerCras(); + AudioManagerCras(AudioLogFactory* audio_log_factory); // AudioManager implementation. virtual bool HasAudioOutputDevices() OVERRIDE; -- cgit v1.1