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

Unified Diff: trunk/src/media/audio/audio_io.h

Issue 335343004: Revert 277794 "Modifies AudioInputCallback::OnData and use media..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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
Index: trunk/src/media/audio/audio_io.h
===================================================================
--- trunk/src/media/audio/audio_io.h (revision 277811)
+++ trunk/src/media/audio/audio_io.h (working copy)
@@ -109,9 +109,8 @@
// Called by the audio recorder when a full packet of audio data is
// available. This is called from a special audio thread and the
// implementation should return as soon as possible.
- virtual void OnData(AudioInputStream* stream,
- const AudioBus* source,
- uint32 hardware_delay_bytes,
+ virtual void OnData(AudioInputStream* stream, const uint8* src,
+ uint32 size, uint32 hardware_delay_bytes,
double volume) = 0;
// There was an error while recording audio. The audio sink cannot be
« no previous file with comments | « trunk/src/media/audio/audio_input_unittest.cc ('k') | trunk/src/media/audio/audio_low_latency_input_output_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698