Give up non-conformance log

Signed-off-by: huang-jianfei200 <huangjianfei3@huawei.com>
Change-Id: Idce70f558541ee70f6a168c3173df2a13a7db581
This commit is contained in:
huang-jianfei200
2023-03-14 11:03:25 +08:00
parent 67911dd876
commit 8938447a4f
3 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -201,7 +201,7 @@ bool AudioCapturerImpl::Record()
int32_t AudioCapturerImpl::Read(uint8_t *buffer, size_t userSize, bool isBlockingRead)
{
if (buffer == nullptr || !userSize) {
MEDIA_ERR_LOG("Invalid buffer:%p userSize:%u", reinterpret_cast<void*>(buffer), userSize);
MEDIA_ERR_LOG("Invalid buffer or userSize:%u", userSize);
return ERR_INVALID_READ;
}
CHK_NULL_RETURN(audioSource_, ERROR);
+2 -2
View File
@@ -38,7 +38,7 @@ AudioSource::AudioSource()
{
if (g_audioManager == nullptr) {
g_audioManager = GetAudioManagerFuncs();
MEDIA_DEBUG_LOG("g_audioManager:%p", reinterpret_cast<void*>(&g_audioManager));
MEDIA_DEBUG_LOG("g_audioManager");
}
int size = 0;
struct AudioAdapterDescriptor *descs = nullptr;
@@ -59,7 +59,7 @@ AudioSource::AudioSource()
}
}
}
MEDIA_DEBUG_LOG("LoadAdapter audioAdapter_:%p", reinterpret_cast<void*>(&audioAdapter_));
MEDIA_DEBUG_LOG("LoadAdapter audioAdapter_");
}
AudioSource::~AudioSource()
+4 -5
View File
@@ -48,9 +48,9 @@ static BOOL Initialize(Service *service, Identity identity)
AudioCapturerService *capturerSvc = reinterpret_cast<AudioCapturerService*>(service);
capturerSvc->identity = identity;
MEDIA_DEBUG_LOG("Initialize(%s)! Identity<%d, %d, %p>",
MEDIA_DEBUG_LOG("Initialize(%s)! Identity<%d, %d>",
AUDIO_CAPTURER_SERVICE_NAME, identity.serviceId,
identity.featureId, reinterpret_cast<void*>(&identity.queueId));
identity.featureId);
return TRUE;
}
@@ -61,9 +61,8 @@ static BOOL MessageHandle(Service *service, Request *msg)
return FALSE;
}
MEDIA_DEBUG_LOG("MessageHandle(%s)! Request<%d, %d, %p>", service->GetName(service),
msg->msgId, msg->msgValue,
reinterpret_cast<void*>(&msg->data));
MEDIA_DEBUG_LOG("MessageHandle(%s)! Request<%d, %d>", service->GetName(service),
msg->msgId, msg->msgValue);
return FALSE;
}