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

Unified Diff: media/base/audio_bus.h

Issue 344583002: Modifies AudioInputCallback::OnData and use media::AudioBus instead of plain byte vector (Relanding) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added extra non-pure OnData API Created 6 years, 6 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 | « media/audio/win/wavein_input_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_bus.h
diff --git a/media/base/audio_bus.h b/media/base/audio_bus.h
index 56ef9777d8000526bdf2ba9acf8ab6ed7f809731..c5b161f0236082728db2bd97b25ba9de7a9e1c60 100644
--- a/media/base/audio_bus.h
+++ b/media/base/audio_bus.h
@@ -108,10 +108,9 @@ class MEDIA_EXPORT AudioBus {
// the channels are valid.
void SwapChannels(int a, int b);
- private:
- friend struct base::DefaultDeleter<AudioBus>;
- ~AudioBus();
+ virtual ~AudioBus();
+ private:
AudioBus(int channels, int frames);
AudioBus(int channels, int frames, float* data);
AudioBus(int frames, const std::vector<float*>& channel_data);
« no previous file with comments | « media/audio/win/wavein_input_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698