From 74a6fd32936d5c9563f64c2ad205c3b8a6256fde Mon Sep 17 00:00:00 2001 From: Tiago Martines Date: Thu, 6 Jul 2017 03:57:02 -0300 Subject: [PATCH] Do not define VERY_VERY_VERBOSE_LOGGING by default. (#18036) --- cocos/audio/apple/AudioCache.mm | 1 - cocos/audio/apple/AudioPlayer.mm | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/cocos/audio/apple/AudioCache.mm b/cocos/audio/apple/AudioCache.mm index a38875a79e..f465a571c5 100644 --- a/cocos/audio/apple/AudioCache.mm +++ b/cocos/audio/apple/AudioCache.mm @@ -37,7 +37,6 @@ #include "audio/apple/AudioDecoder.h" -#define VERY_VERY_VERBOSE_LOGGING #ifdef VERY_VERY_VERBOSE_LOGGING #define ALOGVV ALOGV #else diff --git a/cocos/audio/apple/AudioPlayer.mm b/cocos/audio/apple/AudioPlayer.mm index 22c6b05aa5..2c7b4586a0 100644 --- a/cocos/audio/apple/AudioPlayer.mm +++ b/cocos/audio/apple/AudioPlayer.mm @@ -34,7 +34,6 @@ #include "platform/CCFileUtils.h" #include "audio/apple/AudioDecoder.h" -#define VERY_VERY_VERBOSE_LOGGING #ifdef VERY_VERY_VERBOSE_LOGGING #define ALOGVV ALOGV #else @@ -145,7 +144,7 @@ void AudioPlayer::setCache(AudioCache* cache) bool AudioPlayer::play2d() { _play2dMutex.lock(); - ALOGV("AudioPlayer::play2d, _alSource: %u", _alSource); + ALOGVV("AudioPlayer::play2d, _alSource: %u", _alSource); /*********************************************************************/ /* Note that it may be in sub thread or in main thread. **/