summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/pepper_devices.cc
diff options
context:
space:
mode:
authorneb@chromium.org <neb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-31 17:44:57 +0000
committerneb@chromium.org <neb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-31 17:44:57 +0000
commit74f275448f43dac31331495148e832c376b18344 (patch)
tree4448da9862f7aa9607e7987c5f2c632365503c66 /chrome/renderer/pepper_devices.cc
parent224d21b895ef373bdaaf12960004e2b5d4e2b1b5 (diff)
downloadchromium_src-74f275448f43dac31331495148e832c376b18344.zip
chromium_src-74f275448f43dac31331495148e832c376b18344.tar.gz
chromium_src-74f275448f43dac31331495148e832c376b18344.tar.bz2
Add a Pepper audio basic functionality unit test, take 2.
Also changed TestSink to be derived from IPC::Channel and made MockRenderThread service AddFilter/RemoveFilter, so that it can be used by MessageFilters. Also removed some logging because it triggers Valgrind errors. Review URL: http://codereview.chromium.org/1466001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/pepper_devices.cc')
-rw-r--r--chrome/renderer/pepper_devices.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/renderer/pepper_devices.cc b/chrome/renderer/pepper_devices.cc
index 67301fa..494884c 100644
--- a/chrome/renderer/pepper_devices.cc
+++ b/chrome/renderer/pepper_devices.cc
@@ -168,10 +168,6 @@ NPError AudioDeviceContext::Initialize(AudioMessageFilter* filter,
// TODO(neb): figure out if this number is grounded in reality
params.buffer_capacity = params.packet_size * 3;
- LOG(INFO) << "Initializing Pepper Audio Context (" <<
- config->sampleFrameCount << "Hz, " << params.bits_per_sample <<
- " bits, " << config->outputChannelMap << "channels";
-
stream_id_ = filter_->AddDelegate(this);
filter->Send(new ViewHostMsg_CreateAudioStream(0, stream_id_, params, true));
return NPERR_NO_ERROR;