summaryrefslogtreecommitdiffstats
path: root/media/audio/simple_sources.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-08 18:25:09 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-08 18:25:09 +0000
commit1fd3ddc659f381c285c35f29ea8bdd33b06a1dfc (patch)
tree907cd1f3e07b67526d4cb29209c896425d4cdf3b /media/audio/simple_sources.h
parentb0da24bc22a1726c240f8d9392381ff66c4cca3c (diff)
downloadchromium_src-1fd3ddc659f381c285c35f29ea8bdd33b06a1dfc.zip
chromium_src-1fd3ddc659f381c285c35f29ea8bdd33b06a1dfc.tar.gz
chromium_src-1fd3ddc659f381c285c35f29ea8bdd33b06a1dfc.tar.bz2
Enable media.dll / libmedia.so.
Review URL: http://codereview.chromium.org/7572040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95841 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/audio/simple_sources.h')
-rw-r--r--media/audio/simple_sources.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/media/audio/simple_sources.h b/media/audio/simple_sources.h
index 5ea1fee..de70601 100644
--- a/media/audio/simple_sources.h
+++ b/media/audio/simple_sources.h
@@ -11,7 +11,8 @@
#include "media/base/seekable_buffer.h"
// An audio source that produces a pure sinusoidal tone.
-class SineWaveAudioSource : public AudioOutputStream::AudioSourceCallback {
+class MEDIA_EXPORT SineWaveAudioSource
+ : public AudioOutputStream::AudioSourceCallback {
public:
enum Format {
FORMAT_8BIT_LINEAR_PCM,
@@ -39,7 +40,7 @@ class SineWaveAudioSource : public AudioOutputStream::AudioSourceCallback {
// Defines an interface for pushing audio output. In contrast, the interfaces
// defined by AudioSourceCallback are pull model only.
-class PushAudioOutput {
+class MEDIA_EXPORT PushAudioOutput {
public:
virtual ~PushAudioOutput() {}
@@ -56,7 +57,7 @@ class PushAudioOutput {
// a pull model provider AudioSourceCallback. Fundamentally it manages a series
// of audio buffers and is unaware of the actual audio format.
// Note that the PushSource is not thread safe and user need to provide locking.
-class PushSource
+class MEDIA_EXPORT PushSource
: public AudioOutputStream::AudioSourceCallback,
public PushAudioOutput {
public: