mirror of
https://github.com/openharmony/multimedia_audio_lite.git
synced 2026-07-19 11:42:12 -04:00
Give up non-conformance log
Signed-off-by: huang-jianfei200 <huangjianfei3@huawei.com> Change-Id: Idce70f558541ee70f6a168c3173df2a13a7db581
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user