summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/media/audio_renderer_impl.cc
diff options
context:
space:
mode:
authorralphl@chromium.org <ralphl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-30 19:51:00 +0000
committerralphl@chromium.org <ralphl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-30 19:51:00 +0000
commit44d568ec954287a29ff14ae3f2217b7ec534e49f (patch)
treed068c196197eb82303b938aa3d1b35f480d2a466 /chrome/renderer/media/audio_renderer_impl.cc
parent000b6ee0af3d7b362f812352cc2adcdbf4a2c51f (diff)
downloadchromium_src-44d568ec954287a29ff14ae3f2217b7ec534e49f.zip
chromium_src-44d568ec954287a29ff14ae3f2217b7ec534e49f.tar.gz
chromium_src-44d568ec954287a29ff14ae3f2217b7ec534e49f.tar.bz2
Decoders now use standard callback mechanism for Reads. Removed Assignable<> template.
Also includes an update that should provide more accurate timing from the audio renderer. Review URL: http://codereview.chromium.org/55031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12796 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/media/audio_renderer_impl.cc')
-rw-r--r--chrome/renderer/media/audio_renderer_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/media/audio_renderer_impl.cc b/chrome/renderer/media/audio_renderer_impl.cc
index a830b40..9276b0e 100644
--- a/chrome/renderer/media/audio_renderer_impl.cc
+++ b/chrome/renderer/media/audio_renderer_impl.cc
@@ -63,9 +63,9 @@ void AudioRendererImpl::OnStop() {
}
}
-void AudioRendererImpl::OnAssignment(media::Buffer* buffer_in) {
+void AudioRendererImpl::OnReadComplete(media::Buffer* buffer_in) {
// Use the base class to queue the buffer.
- AudioRendererBase::OnAssignment(buffer_in);
+ AudioRendererBase::OnReadComplete(buffer_in);
// Post a task to render thread to notify a packet reception.
render_loop_->PostTask(FROM_HERE,
NewRunnableMethod(this, &AudioRendererImpl::OnNotifyAudioPacketReady));