diff options
author | Glenn Kasten <gkasten@google.com> | 2012-01-27 16:47:15 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-02-03 07:57:01 -0800 |
commit | a0d68338a88c2ddb4502f95017b546d603ef1ec7 (patch) | |
tree | f052125f4720fde00179d41d4ee04e02934052e4 /include/media/AudioRecord.h | |
parent | 87f155d6655b2d3b27e69281a29e85c6407e4d26 (diff) | |
download | frameworks_av-a0d68338a88c2ddb4502f95017b546d603ef1ec7.zip frameworks_av-a0d68338a88c2ddb4502f95017b546d603ef1ec7.tar.gz frameworks_av-a0d68338a88c2ddb4502f95017b546d603ef1ec7.tar.bz2 |
Use NULL not 0 for raw pointers
Use if (p != NULL) instead of if (ptr)
Change-Id: Iaec3413a59ccbf233c98fcd918cc7d70ac5da9fa
Diffstat (limited to 'include/media/AudioRecord.h')
-rw-r--r-- | include/media/AudioRecord.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/media/AudioRecord.h b/include/media/AudioRecord.h index 76ec3b1..c8c5dba 100644 --- a/include/media/AudioRecord.h +++ b/include/media/AudioRecord.h @@ -155,8 +155,8 @@ public: uint32_t channelMask = AUDIO_CHANNEL_IN_MONO, int frameCount = 0, uint32_t flags = 0, - callback_t cbf = 0, - void* user = 0, + callback_t cbf = NULL, + void* user = NULL, int notificationFrames = 0, int sessionId = 0); @@ -181,8 +181,8 @@ public: uint32_t channelMask = AUDIO_CHANNEL_IN_MONO, int frameCount = 0, uint32_t flags = 0, - callback_t cbf = 0, - void* user = 0, + callback_t cbf = NULL, + void* user = NULL, int notificationFrames = 0, bool threadCanCallJava = false, int sessionId = 0); |