返回值类型修改

Signed-off-by: jiao <jiaoruiting@huawei.com>
This commit is contained in:
jiao
2025-02-07 15:24:52 +08:00
parent 379f9c15af
commit 664e71e5f2
+2 -2
View File
@@ -348,7 +348,7 @@ bool AudioCapturer::AudioCapturerClient::Stop()
int32_t ret = proxy_->Invoke(proxy_, AUD_CAP_FUNC_STOP, &io, &para, ProxyCallbackFunc);
if (ret) {
MEDIA_ERR_LOG("Stop failed, ret=%d", ret);
return ret;
return false;
}
return para.ret;
@@ -369,7 +369,7 @@ bool AudioCapturer::AudioCapturerClient::Release()
int32_t ret = proxy_->Invoke(proxy_, AUD_CAP_FUNC_RELEASE, &io, &para, ProxyCallbackFunc);
if (ret) {
MEDIA_ERR_LOG("Release failed, ret=%d", ret);
return ret;
return false;
}
DeleteSurface();