diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-10 22:40:31 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-10 22:40:31 +0000 |
commit | 8db216ee756d4e06fbd05676b045784da3a5928c (patch) | |
tree | 36b7bf2b42bf6ccb1fab70cfbe35dd29514c9cb7 /media | |
parent | e00e0cc2284c3a8e0b74841ace6b9dad9bd1df94 (diff) | |
download | chromium_src-8db216ee756d4e06fbd05676b045784da3a5928c.zip chromium_src-8db216ee756d4e06fbd05676b045784da3a5928c.tar.gz chromium_src-8db216ee756d4e06fbd05676b045784da3a5928c.tar.bz2 |
Implemented AudioRendererImpl in renderer process using API
provided by RenderView for accessing audio device in the
browser using IPC, subclassing from media::AudioRendererBase
for buffer filling.
Review URL: http://codereview.chromium.org/28081
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11392 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r-- | media/base/pipeline.h | 2 | ||||
-rw-r--r-- | media/filters/audio_renderer_base.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/media/base/pipeline.h b/media/base/pipeline.h index 58883cc..2f20d65 100644 --- a/media/base/pipeline.h +++ b/media/base/pipeline.h @@ -32,7 +32,7 @@ enum PipelineError { PIPELINE_ERROR_OUT_OF_MEMORY, PIPELINE_ERROR_COULD_NOT_RENDER, PIPELINE_ERROR_READ, - + PIPELINE_ERROR_AUDIO_HARDWARE, // Demuxer related errors. DEMUXER_ERROR_COULD_NOT_OPEN, DEMUXER_ERROR_COULD_NOT_PARSE, diff --git a/media/filters/audio_renderer_base.h b/media/filters/audio_renderer_base.h index 7d8d571..fd371e6 100644 --- a/media/filters/audio_renderer_base.h +++ b/media/filters/audio_renderer_base.h @@ -36,7 +36,7 @@ class AudioRendererBase : public AudioRenderer { virtual bool Initialize(AudioDecoder* decoder); // AssignableBuffer<AudioRendererBase, BufferInterface> implementation. - void OnAssignment(Buffer* buffer_in); + virtual void OnAssignment(Buffer* buffer_in); protected: // The default maximum size of the queue. |