Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(492)

Side by Side Diff: media/base/filters.cc

Issue 8763010: Replace AudioDecoder::ProduceAudioSamples/ConsumeAudioSamples with read callbacks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/base/filters.h" 5 #include "media/base/filters.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace media { 9 namespace media {
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 } 72 }
73 73
74 VideoDecoder::VideoDecoder() {} 74 VideoDecoder::VideoDecoder() {}
75 75
76 VideoDecoder::~VideoDecoder() {} 76 VideoDecoder::~VideoDecoder() {}
77 77
78 AudioDecoder::AudioDecoder() {} 78 AudioDecoder::AudioDecoder() {}
79 79
80 AudioDecoder::~AudioDecoder() {} 80 AudioDecoder::~AudioDecoder() {}
81 81
82 void AudioDecoder::ConsumeAudioSamples(scoped_refptr<Buffer> buffer) {
83 consume_audio_samples_callback_.Run(buffer);
84 }
85
86 } // namespace media 82 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698