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

Side by Side Diff: media/audio/android/audio_record_input.cc

Issue 2209993003: Add missing using statements for JNI types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « media/audio/android/audio_manager_android.cc ('k') | media/base/android/media_drm_bridge.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/audio/android/audio_record_input.h" 5 #include "media/audio/android/audio_record_input.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "jni/AudioRecordInput_jni.h" 8 #include "jni/AudioRecordInput_jni.h"
9 #include "media/audio/android/audio_manager_android.h" 9 #include "media/audio/android/audio_manager_android.h"
10 #include "media/base/audio_bus.h" 10 #include "media/base/audio_bus.h"
11 11
12 using base::android::JavaParamRef;
13
12 namespace media { 14 namespace media {
13 15
14 AudioRecordInputStream::AudioRecordInputStream( 16 AudioRecordInputStream::AudioRecordInputStream(
15 AudioManagerAndroid* audio_manager, 17 AudioManagerAndroid* audio_manager,
16 const AudioParameters& params) 18 const AudioParameters& params)
17 : audio_manager_(audio_manager), 19 : audio_manager_(audio_manager),
18 callback_(NULL), 20 callback_(NULL),
19 direct_buffer_address_(NULL), 21 direct_buffer_address_(NULL),
20 audio_bus_(media::AudioBus::Create(params)), 22 audio_bus_(media::AudioBus::Create(params)),
21 bytes_per_sample_(params.bits_per_sample() / 8) { 23 bytes_per_sample_(params.bits_per_sample() / 8) {
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 NOTIMPLEMENTED(); 140 NOTIMPLEMENTED();
139 return false; 141 return false;
140 } 142 }
141 143
142 bool AudioRecordInputStream::IsMuted() { 144 bool AudioRecordInputStream::IsMuted() {
143 NOTIMPLEMENTED(); 145 NOTIMPLEMENTED();
144 return false; 146 return false;
145 } 147 }
146 148
147 } // namespace media 149 } // namespace media
OLDNEW
« no previous file with comments | « media/audio/android/audio_manager_android.cc ('k') | media/base/android/media_drm_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698