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

Unified Diff: media/audio/audio_util.cc

Issue 10824304: Upgrade AudioBus to support wrapping, interleaving. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Lint. 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
« no previous file with comments | « no previous file | media/base/audio_bus.h » ('j') | media/base/audio_bus.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_util.cc
diff --git a/media/audio/audio_util.cc b/media/audio/audio_util.cc
index d54f2774007ae96ef4d82894a826b3a6b3bcc596..0abff480c2d8150b8cece6203c15391ade3acdf5 100644
--- a/media/audio/audio_util.cc
+++ b/media/audio/audio_util.cc
@@ -182,6 +182,7 @@ bool FoldChannels(void* buf,
return false;
}
+// TODO(dalecurtis): Delete once everywhere is using the AudioBus version.
bool DeinterleaveAudioChannel(void* source,
float* destination,
int channels,
@@ -259,6 +260,7 @@ static void InterleaveFloatToInt(const AudioBus* source,
}
}
+// TODO(dalecurtis): Delete once everywhere is using the AudioBus version.
void InterleaveFloatToInt(const AudioBus* source, void* dst,
size_t number_of_frames, int bytes_per_sample) {
switch (bytes_per_sample) {
« no previous file with comments | « no previous file | media/base/audio_bus.h » ('j') | media/base/audio_bus.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698