diff --git a/frameworks/binder/audio_capturer_client.cpp b/frameworks/binder/audio_capturer_client.cpp index 510de95..f51632f 100644 --- a/frameworks/binder/audio_capturer_client.cpp +++ b/frameworks/binder/audio_capturer_client.cpp @@ -348,7 +348,7 @@ bool AudioCapturer::AudioCapturerClient::Stop() int32_t ret = proxy_->Invoke(proxy_, AUD_CAP_FUNC_STOP, &io, ¶, 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, ¶, ProxyCallbackFunc); if (ret) { MEDIA_ERR_LOG("Release failed, ret=%d", ret); - return ret; + return false; } DeleteSurface();