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

Unified Diff: content/renderer/media/audio_track_recorder.h

Issue 1579693006: MediaRecorder: support sampling rate adaption in AudioTrackRecorder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: miu@s nit Created 4 years, 11 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 | content/renderer/media/audio_track_recorder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/audio_track_recorder.h
diff --git a/content/renderer/media/audio_track_recorder.h b/content/renderer/media/audio_track_recorder.h
index 1d1a395caa51d33e49628ddab111b831bfb79210..7f7c1f94fe59264755ed2c8e72e1b1a5d5d67a98 100644
--- a/content/renderer/media/audio_track_recorder.h
+++ b/content/renderer/media/audio_track_recorder.h
@@ -17,6 +17,7 @@
namespace media {
class AudioBus;
+class AudioParameters;
} // namespace media
namespace content {
@@ -47,17 +48,10 @@ class CONTENT_EXPORT AudioTrackRecorder
base::TimeTicks capture_time) override;
private:
- friend class AudioTrackRecorderTest;
- class AudioParameters;
-
// Forward declaration of nested class for handling encoding.
// See the implementation file for details.
class AudioEncoder;
- // Returns the Opus buffer duration in milliseconds, or zero if none will work
- // for the given |sample_rate|.
- static int GetOpusBufferDuration(int sample_rate);
-
// Used to check that we are destroyed on the same thread we were created on.
base::ThreadChecker main_render_thread_checker_;
« no previous file with comments | « no previous file | content/renderer/media/audio_track_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698