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

Unified Diff: media/base/sinc_resampler.h

Issue 11189047: Add opus audio codec support in remoting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/base/sinc_resampler.cc » ('j') | remoting/codec/audio_encoder_opus.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/sinc_resampler.h
diff --git a/media/base/sinc_resampler.h b/media/base/sinc_resampler.h
index 604192fdac73ca327d4e72db4ee42c5556b570f8..bf4380eb60ce7a005a85c8e8eed49dd11403e235 100644
--- a/media/base/sinc_resampler.h
+++ b/media/base/sinc_resampler.h
@@ -16,6 +16,10 @@ namespace media {
// SincResampler is a high-quality single-channel sample-rate converter.
class MEDIA_EXPORT SincResampler {
public:
+ // How many samples may be requested from the callback ahead of the current
DaleCurtis 2012/10/22 20:48:41 Comment still makes it sound like this is the only
Sergey Ulanov 2012/10/22 22:07:23 Done.
+ // position in the stream.
+ static const int kMaximumLookAheadSize;
+
// Callback type for providing more data into the resampler. Expects |frames|
// of data to be rendered into |destination|; zero padded if not enough frames
// are available to satisfy the request.
« no previous file with comments | « no previous file | media/base/sinc_resampler.cc » ('j') | remoting/codec/audio_encoder_opus.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698