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

Unified Diff: media/audio/audio_util.h

Issue 10871051: Convert WebAudio file handlers to use AudioBus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments. 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/audio/audio_util.cc » ('j') | media/base/audio_bus.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_util.h
diff --git a/media/audio/audio_util.h b/media/audio/audio_util.h
index 9931935c2349a689d21d7dba41009879186b4570..d5522ccd57ea50453867494a8da4ee01f19ba98b 100644
--- a/media/audio/audio_util.h
+++ b/media/audio/audio_util.h
@@ -67,19 +67,6 @@ MEDIA_EXPORT bool FoldChannels(void* buf,
int bytes_per_sample,
float volume);
-// DeinterleaveAudioChannel() takes interleaved audio buffer |source|
-// of the given |sample_fmt| and |number_of_channels| and extracts
-// |number_of_frames| data for the given |channel_index| and
-// puts it in the floating point |destination|.
-// It returns |true| on success, or |false| if the |sample_fmt| is
-// not recognized.
-MEDIA_EXPORT bool DeinterleaveAudioChannel(void* source,
- float* destination,
- int channels,
- int channel_index,
- int bytes_per_sample,
- size_t number_of_frames);
-
// Returns the default audio output hardware sample-rate.
MEDIA_EXPORT int GetAudioHardwareSampleRate();
« no previous file with comments | « no previous file | media/audio/audio_util.cc » ('j') | media/base/audio_bus.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698