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

Unified Diff: media/audio/mock_audio_manager.cc

Issue 12316131: Moved AudioUtil static functions to AudioManager interfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: made the GetPreferredOutputStreamParameters protected Created 7 years, 10 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/mock_audio_manager.h ('k') | media/audio/openbsd/audio_manager_openbsd.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/mock_audio_manager.cc
diff --git a/media/audio/mock_audio_manager.cc b/media/audio/mock_audio_manager.cc
index 4cd5f2159a5644b25a541cc4f15418f334d312c7..1209e192d3de6e3284dfc1ed63d05e1906ab2298 100644
--- a/media/audio/mock_audio_manager.cc
+++ b/media/audio/mock_audio_manager.cc
@@ -6,6 +6,7 @@
#include "base/logging.h"
#include "base/message_loop_proxy.h"
+#include "media/audio/audio_parameters.h"
namespace media {
@@ -70,4 +71,13 @@ void MockAudioManager::RemoveOutputDeviceChangeListener(
AudioDeviceListener* listener) {
}
+AudioParameters MockAudioManager::GetDefaultOutputStreamParameters() {
+ return AudioParameters();
+}
+
+AudioParameters MockAudioManager::GetInputStreamParameters(
+ const std::string& device_id) {
+ return AudioParameters();
+}
+
} // namespace media.
« no previous file with comments | « media/audio/mock_audio_manager.h ('k') | media/audio/openbsd/audio_manager_openbsd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698