diff options
author | miu@chromium.org <miu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-21 01:09:21 +0000 |
---|---|---|
committer | miu@chromium.org <miu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-21 01:09:21 +0000 |
commit | fc9ad286d40c972471e9f30a2925bb7b5214350f (patch) | |
tree | a4d235eb2a079c254812bc58c0ada13d6e627d9a /media/media.gyp | |
parent | 1c6b12a885c3fffbae05e45d2223cc1178c25788 (diff) | |
download | chromium_src-fc9ad286d40c972471e9f30a2925bb7b5214350f.zip chromium_src-fc9ad286d40c972471e9f30a2925bb7b5214350f.tar.gz chromium_src-fc9ad286d40c972471e9f30a2925bb7b5214350f.tar.bz2 |
Revert 189095 "Silence detection for audio output UI favicon ind..."
kareng@ noticed crashes. Must revert before dev channel build. :(
> Silence detection for audio output UI favicon indicator.
>
> Added a ProbablyContainsSilence() utility method to media::AudioBus, and then added silence detection logic to media::AudioOutputController. While the detection logic will run on the "native audio thread," it should use an inconsequential amount of CPU time. AudioOutputController will invoke a new EventHandler::OnAudible() callback no more often than every 50 ms, and only when transitioning to/from periods of silence.
>
> Also, to avoid O(N) look-ups in AudioRendererHost for each call to any AudioOutputController::EventHandler method, the interface was simplified such that each stream/controller gets its own EventHandler instance. Changed AudioRendererHost::AudioEntry to become the class that implements the EventHandler interface. Lots of related clean-ups throughout audio_renderer_host.cc to deflate the code.
>
> BUG=178343
> TEST=media_unittests, content_unittests, and confirmation by running chrome manually
> TBR=avi
>
>
> Review URL: https://chromiumcodereview.appspot.com/12426002
TBR=miu@chromium.org
Review URL: https://codereview.chromium.org/12927004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189479 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/media.gyp')
-rw-r--r-- | media/media.gyp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/media/media.gyp b/media/media.gyp index c6977e4..ee117a0 100644 --- a/media/media.gyp +++ b/media/media.gyp @@ -97,8 +97,6 @@ 'audio/audio_output_proxy.h', 'audio/audio_output_resampler.cc', 'audio/audio_output_resampler.h', - 'audio/audio_silence_detector.cc', - 'audio/audio_silence_detector.h', 'audio/audio_source_diverter.h', 'audio/audio_util.cc', 'audio/audio_util.h', @@ -859,7 +857,6 @@ 'audio/audio_output_device_unittest.cc', 'audio/audio_output_proxy_unittest.cc', 'audio/audio_parameters_unittest.cc', - 'audio/audio_silence_detector_unittest.cc', 'audio/audio_util_unittest.cc', 'audio/cross_process_notification_unittest.cc', 'audio/fake_audio_consumer_unittest.cc', |