diff options
author | vrk@chromium.org <vrk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-06 00:48:37 +0000 |
---|---|---|
committer | vrk@chromium.org <vrk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-06 00:48:37 +0000 |
commit | e4eccfdae7c8b34056e7b61450b0be30825fc5d2 (patch) | |
tree | f5090ba1d0d83f9df413ddf370eb12acbec8e7d2 /media/audio/audio_util.h | |
parent | 8e248501d06d6536bdc8f37d20d8c600f848485b (diff) | |
download | chromium_src-e4eccfdae7c8b34056e7b61450b0be30825fc5d2.zip chromium_src-e4eccfdae7c8b34056e7b61450b0be30825fc5d2.tar.gz chromium_src-e4eccfdae7c8b34056e7b61450b0be30825fc5d2.tar.bz2 |
Fix muted audio when playback rate != 1.0 or 0.0
Rewrites the logic in AudioRendererAlgorithmBase to be able to output audio
at any point of a sped-up/slowed down window, instead of only outputting audio
in full multiples of windows.
BUG=108239
TEST=media_unittests, manual testing on video test matrix
Review URL: http://codereview.chromium.org/9395057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125052 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/audio/audio_util.h')
-rw-r--r-- | media/audio/audio_util.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/media/audio/audio_util.h b/media/audio/audio_util.h index 51d707a..e2f57fa 100644 --- a/media/audio/audio_util.h +++ b/media/audio/audio_util.h @@ -118,11 +118,6 @@ MEDIA_EXPORT bool IsWASAPISupported(); #endif // defined(OS_WIN) -// Crossfades |bytes_to_crossfade| bytes of data in |dest| with the -// data in |src|. Assumes there is room in |dest| and enough data in |src|. -MEDIA_EXPORT void Crossfade(int bytes_to_crossfade, int number_of_channels, - int bytes_per_channel, const uint8* src, - uint8* dest); } // namespace media #endif // MEDIA_AUDIO_AUDIO_UTIL_H_ |