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

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

Issue 12611030: Remove unused parameter to OnError() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nits + rebase Created 7 years, 9 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
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 #include "media/audio/android/opensles_input.h" 5 #include "media/audio/android/opensles_input.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "media/audio/android/audio_manager_android.h" 8 #include "media/audio/android/audio_manager_android.h"
9 9
10 namespace media { 10 namespace media {
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 for (int i = 0; i < kNumOfQueuesInBuffer; ++i) { 288 for (int i = 0; i < kNumOfQueuesInBuffer; ++i) {
289 delete [] audio_data_[i]; 289 delete [] audio_data_[i];
290 audio_data_[i] = NULL; 290 audio_data_[i] = NULL;
291 } 291 }
292 } 292 }
293 } 293 }
294 294
295 void OpenSLESInputStream::HandleError(SLresult error) { 295 void OpenSLESInputStream::HandleError(SLresult error) {
296 DLOG(FATAL) << "OpenSLES error " << error; 296 DLOG(FATAL) << "OpenSLES error " << error;
297 if (callback_) 297 if (callback_)
298 callback_->OnError(this, error); 298 callback_->OnError(this);
299 } 299 }
300 300
301 } // namespace media 301 } // namespace media
OLDNEW
« no previous file with comments | « content/browser/speech/speech_recognizer_unittest.cc ('k') | media/audio/android/opensles_output.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698