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

Unified Diff: media/audio/cras/audio_manager_cras.cc

Issue 11959018: Add a unified audio I/O backend for ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Save params, other cleanups suggested by Dale Created 7 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 | « no previous file | media/audio/cras/cras_input.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/cras/audio_manager_cras.cc
diff --git a/media/audio/cras/audio_manager_cras.cc b/media/audio/cras/audio_manager_cras.cc
index 89507dbb41fc5746437cbfaa307e994f9417f73e..8f9c69f3c1202372fd19a53e6cdeb470a06d43b6 100644
--- a/media/audio/cras/audio_manager_cras.cc
+++ b/media/audio/cras/audio_manager_cras.cc
@@ -12,7 +12,7 @@
#include "base/stl_util.h"
#include "media/audio/audio_util.h"
#include "media/audio/cras/cras_input.h"
-#include "media/audio/cras/cras_output.h"
+#include "media/audio/cras/cras_unified.h"
#include "media/base/channel_layout.h"
namespace media {
@@ -121,7 +121,7 @@ AudioParameters AudioManagerCras::GetPreferredOutputStreamParameters(
AudioOutputStream* AudioManagerCras::MakeOutputStream(
const AudioParameters& params) {
- return new CrasOutputStream(params, this);
+ return new CrasUnifiedStream(params, this);
}
AudioInputStream* AudioManagerCras::MakeInputStream(
« no previous file with comments | « no previous file | media/audio/cras/cras_input.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698