summaryrefslogtreecommitdiffstats
path: root/include/media/AudioEffect.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-01-27 16:47:15 -0800
committerGlenn Kasten <gkasten@google.com>2012-02-03 07:57:01 -0800
commita0d68338a88c2ddb4502f95017b546d603ef1ec7 (patch)
treef052125f4720fde00179d41d4ee04e02934052e4 /include/media/AudioEffect.h
parent87f155d6655b2d3b27e69281a29e85c6407e4d26 (diff)
downloadframeworks_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/AudioEffect.h')
-rw-r--r--include/media/AudioEffect.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/media/AudioEffect.h b/include/media/AudioEffect.h
index 1417416..7b0b443 100644
--- a/include/media/AudioEffect.h
+++ b/include/media/AudioEffect.h
@@ -226,8 +226,8 @@ public:
AudioEffect(const effect_uuid_t *type,
const effect_uuid_t *uuid = NULL,
int32_t priority = 0,
- effect_callback_t cbf = 0,
- void* user = 0,
+ effect_callback_t cbf = NULL,
+ void* user = NULL,
int sessionId = 0,
audio_io_handle_t io = 0
);
@@ -238,8 +238,8 @@ public:
AudioEffect(const char *typeStr,
const char *uuidStr = NULL,
int32_t priority = 0,
- effect_callback_t cbf = 0,
- void* user = 0,
+ effect_callback_t cbf = NULL,
+ void* user = NULL,
int sessionId = 0,
audio_io_handle_t io = 0
);
@@ -260,8 +260,8 @@ public:
status_t set(const effect_uuid_t *type,
const effect_uuid_t *uuid = NULL,
int32_t priority = 0,
- effect_callback_t cbf = 0,
- void* user = 0,
+ effect_callback_t cbf = NULL,
+ void* user = NULL,
int sessionId = 0,
audio_io_handle_t io = 0
);