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

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_decoder_opus.h » ('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..e7e1ef61494f5fd8d06ae8b4ef86fe3a3f44beac 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
+ // position in the stream.
+ static const int kLookAheadSize;
DaleCurtis 2012/10/18 00:45:01 Hmm, this is a misleading comment / name, the prim
Sergey Ulanov 2012/10/19 20:54:30 Done.
+
// 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_decoder_opus.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698