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

Side by Side Diff: media/base/sinc_resampler.h

Issue 10823175: Switch AudioRenderSink::Callback to use AudioBus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Gotta catch'em all! Created 8 years, 4 months 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef MEDIA_BASE_SINC_RESAMPLER_H_ 5 #ifndef MEDIA_BASE_SINC_RESAMPLER_H_
6 #define MEDIA_BASE_SINC_RESAMPLER_H_ 6 #define MEDIA_BASE_SINC_RESAMPLER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "base/memory/aligned_memory.h" 10 #include "base/memory/aligned_memory.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 scoped_ptr_malloc<float, base::ScopedPtrAlignedFree> input_buffer_; 74 scoped_ptr_malloc<float, base::ScopedPtrAlignedFree> input_buffer_;
75 75
76 // Pointers to the various regions inside |input_buffer_|. See the diagram at 76 // Pointers to the various regions inside |input_buffer_|. See the diagram at
77 // the top of the .cc file for more information. 77 // the top of the .cc file for more information.
78 float* const r0_; 78 float* const r0_;
79 float* const r1_; 79 float* const r1_;
80 float* const r2_; 80 float* const r2_;
81 float* const r3_; 81 float* const r3_;
82 float* const r4_; 82 float* const r4_;
83 float* const r5_; 83 float* const r5_;
84
85 DISALLOW_COPY_AND_ASSIGN(SincResampler);
84 }; 86 };
85 87
86 } // namespace media 88 } // namespace media
87 89
88 #endif // MEDIA_BASE_SINC_RESAMPLER_H_ 90 #endif // MEDIA_BASE_SINC_RESAMPLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698