summaryrefslogtreecommitdiffstats
path: root/media/audio/simple_sources.h
diff options
context:
space:
mode:
authorhenrika@chromium.org <henrika@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-29 11:48:05 +0000
committerhenrika@chromium.org <henrika@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-29 11:48:05 +0000
commit56c3da9b32d58ca456b092a51aba997aa857f047 (patch)
tree904e14cc5f20c3bf446de6ac294cafa5fc4d5496 /media/audio/simple_sources.h
parent1a55c5be47d58f64e9adf22985f4e0c276c9ed86 (diff)
downloadchromium_src-56c3da9b32d58ca456b092a51aba997aa857f047.zip
chromium_src-56c3da9b32d58ca456b092a51aba997aa857f047.tar.gz
chromium_src-56c3da9b32d58ca456b092a51aba997aa857f047.tar.bz2
Fixes rounding issue in simple sources.
The SimpleSources unit test failed after this CL (http://codereview.chromium.org/8678012). This CL contains a fix. BUG=none TEST=media_unittests --gtest_filter=SimpleSources* Review URL: http://codereview.chromium.org/8687024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111913 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/audio/simple_sources.h')
-rw-r--r--media/audio/simple_sources.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/audio/simple_sources.h b/media/audio/simple_sources.h
index dd2782c..a4373a0 100644
--- a/media/audio/simple_sources.h
+++ b/media/audio/simple_sources.h
@@ -36,6 +36,7 @@ class MEDIA_EXPORT SineWaveAudioSource
int channels_;
double freq_;
double sample_freq_;
+ int time_state_;
};
// Defines an interface for pushing audio output. In contrast, the interfaces