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

Unified Diff: webrtc/modules/audio_device/android/opensles_recorder.cc

Issue 2685783014: Replace NULL with nullptr in all C++ files. (Closed)
Patch Set: Fixing android. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_device/android/opensles_recorder.cc
diff --git a/webrtc/modules/audio_device/android/opensles_recorder.cc b/webrtc/modules/audio_device/android/opensles_recorder.cc
index 5178d2c149449267c57f6534203a9cca3c978959..8338206703cfe4f6add16f208514d88a91116d9a 100644
--- a/webrtc/modules/audio_device/android/opensles_recorder.cc
+++ b/webrtc/modules/audio_device/android/opensles_recorder.cc
@@ -230,8 +230,8 @@ bool OpenSLESRecorder::CreateAudioRecorder() {
// Audio source configuration.
SLDataLocator_IODevice mic_locator = {SL_DATALOCATOR_IODEVICE,
SL_IODEVICE_AUDIOINPUT,
- SL_DEFAULTDEVICEID_AUDIOINPUT, NULL};
- SLDataSource audio_source = {&mic_locator, NULL};
+ SL_DEFAULTDEVICEID_AUDIOINPUT, nullptr};
+ SLDataSource audio_source = {&mic_locator, nullptr};
// Audio sink configuration.
SLDataLocator_AndroidSimpleBufferQueue buffer_queue = {

Powered by Google App Engine
This is Rietveld 408576698