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

Unified Diff: media/audio/audio_util.h

Issue 10824304: Upgrade AudioBus to support wrapping, interleaving. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 8 years, 4 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
Index: media/audio/audio_util.h
diff --git a/media/audio/audio_util.h b/media/audio/audio_util.h
index d25fdf9203e6f9efdd0dffb9b9a818abb7b65066..3a2f80e5440cad9ae118b176ab556084bc96e9b9 100644
--- a/media/audio/audio_util.h
+++ b/media/audio/audio_util.h
@@ -80,17 +80,6 @@ MEDIA_EXPORT bool DeinterleaveAudioChannel(void* source,
int bytes_per_sample,
size_t number_of_frames);
-// InterleaveFloatToInt scales, clips, and interleaves the planar
-// floating-point audio contained in |source| to the |destination|.
-// The floating-point data is in a canonical range of -1.0 -> +1.0.
-// The size of the |source| vector determines the number of channels.
-// The |destination| buffer is assumed to be large enough to hold the
-// result. Thus it must be at least size: number_of_frames * source.size()
-MEDIA_EXPORT void InterleaveFloatToInt(const AudioBus* audio_bus,
- void* destination,
- size_t number_of_frames,
- int bytes_per_sample);
-
// Returns the default audio output hardware sample-rate.
MEDIA_EXPORT int GetAudioHardwareSampleRate();

Powered by Google App Engine
This is Rietveld 408576698