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

Unified Diff: media/blink/webaudiosourceprovider_impl.h

Issue 1599533003: MediaCaptureFromElement: add support for audio captureStream(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: using refptr iso WeakPtr Created 4 years, 7 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 | « content/test/BUILD.gn ('k') | media/blink/webaudiosourceprovider_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webaudiosourceprovider_impl.h
diff --git a/media/blink/webaudiosourceprovider_impl.h b/media/blink/webaudiosourceprovider_impl.h
index 6bf3b0aa9e379b9811e06598a53c97186fb74b47..eea08ca158dfb834e12961cb9e30f23d20625f68 100644
--- a/media/blink/webaudiosourceprovider_impl.h
+++ b/media/blink/webaudiosourceprovider_impl.h
@@ -72,6 +72,8 @@ class MEDIA_BLINK_EXPORT WebAudioSourceProviderImpl
void SetCopyAudioCallback(const CopyAudioCB& callback);
void ClearCopyAudioCallback();
+ int RenderForTesting(AudioBus* audio_bus);
+
private:
friend class WebAudioSourceProviderImplTest;
~WebAudioSourceProviderImpl() override;
@@ -79,8 +81,6 @@ class MEDIA_BLINK_EXPORT WebAudioSourceProviderImpl
// Calls setFormat() on |client_| from the Blink renderer thread.
void OnSetFormat();
- int RenderForTesting(AudioBus* audio_bus);
-
// Used to keep the volume across reconfigurations.
double volume_;
« no previous file with comments | « content/test/BUILD.gn ('k') | media/blink/webaudiosourceprovider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698