summaryrefslogtreecommitdiffstats
path: root/media/base/sinc_resampler.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-23 19:55:10 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-23 19:55:10 +0000
commit7fbe511b49d31fcc88a7675dbc6b6d8c8013ca68 (patch)
tree77175349dccbb9fe5fb9b3bdecdb8b92e2c32605 /media/base/sinc_resampler.h
parent53869dbba36edf76eec07499a5bb7b00f70ac509 (diff)
downloadchromium_src-7fbe511b49d31fcc88a7675dbc6b6d8c8013ca68.zip
chromium_src-7fbe511b49d31fcc88a7675dbc6b6d8c8013ca68.tar.gz
chromium_src-7fbe511b49d31fcc88a7675dbc6b6d8c8013ca68.tar.bz2
Add opus audio codec support in remoting
BUG=154714 Review URL: https://chromiumcodereview.appspot.com/11189047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163650 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/sinc_resampler.h')
-rw-r--r--media/base/sinc_resampler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/media/base/sinc_resampler.h b/media/base/sinc_resampler.h
index 604192f..a1d3cf7 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:
+ // The maximum number of samples that may be requested from the callback ahead
+ // of the current 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.