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

Unified Diff: media/audio/audio_manager_base.cc

Issue 10918098: Introduce AudioOutputResampler for browser side resampling. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: First draft! Created 8 years, 3 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/audio_output_resampler.h » ('j') | media/audio/audio_output_resampler.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_manager_base.cc
diff --git a/media/audio/audio_manager_base.cc b/media/audio/audio_manager_base.cc
index 7e5cc43afc7d9b1f152d9ac54d8fdcdde82c86ec..4bfdf9a30deb1d4f1cedf5d0e0923239196f3e05 100644
--- a/media/audio/audio_manager_base.cc
+++ b/media/audio/audio_manager_base.cc
@@ -10,6 +10,7 @@
#include "base/threading/thread.h"
#include "media/audio/audio_output_dispatcher_impl.h"
#include "media/audio/audio_output_proxy.h"
+#include "media/audio/audio_output_resampler.h"
#include "media/audio/fake_audio_input_stream.h"
#include "media/audio/fake_audio_output_stream.h"
#include "media/base/media_switches.h"
@@ -161,7 +162,8 @@ AudioOutputStream* AudioManagerBase::MakeAudioOutputStreamProxy(
dispatcher = new AudioOutputMixer(this, params, close_delay);
else
#endif
- dispatcher = new AudioOutputDispatcherImpl(this, params, close_delay);
+ //dispatcher = new AudioOutputDispatcherImpl(this, params, close_delay);
scherkus (not reviewing) 2012/09/07 13:30:16 remove or is this supposed to be a flag?
DaleCurtis 2012/09/07 14:17:35 Good question. I think it'll be removed. Should pr
DaleCurtis 2012/09/10 12:06:24 Done.
+ dispatcher = new AudioOutputResampler(this, params, close_delay);
}
return new AudioOutputProxy(dispatcher);
#endif // defined(OS_IOS)
« no previous file with comments | « no previous file | media/audio/audio_output_resampler.h » ('j') | media/audio/audio_output_resampler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698