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

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: merged GetPreferredLowLatencyOutputStreamParameters to GetDefaultOutputStreamParameters 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
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..bba0bb3628d6bd35df5d9891c553380c848f7191 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,14 @@ void MockAudioManager::RemoveOutputDeviceChangeListener(
AudioDeviceListener* listener) {
}
+AudioParameters MockAudioManager::GetDefaultOutputStreamParameters(
+ const AudioParameters& input_params) {
+ return AudioParameters();
+}
+
+AudioParameters MockAudioManager::GetInputStreamParameters(
+ const std::string& device_id) {
+ return AudioParameters();
+}
+
} // namespace media.

Powered by Google App Engine
This is Rietveld 408576698