Home
last modified time | relevance | path

Searched refs:AcquireAudioBuffer (Results 1 - 25 of 25) sorted by relevance

/foundation/multimedia/player_framework/test/fuzztest/common/
H A Dtest_screen_capture.cpp138 int32_t TestScreenCapture::AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) in AcquireAudioBuffer() function in TestScreenCapture
143 return screenCapture->AcquireAudioBuffer(audioBuffer, type); in AcquireAudioBuffer()
H A Dtest_screen_capture.h55 int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type);
/foundation/multimedia/player_framework/services/services/screen_capture/ipc/
H A Dscreen_capture_service_stub.h43 int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) override;
72 int32_t AcquireAudioBuffer(MessageParcel &data, MessageParcel &reply);
H A Dscreen_capture_service_stub.cpp75 screenCaptureStubFuncs_[ACQUIRE_AUDIO_BUF] = &ScreenCaptureServiceStub::AcquireAudioBuffer; in Init()
254 int32_t ScreenCaptureServiceStub::AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, in AcquireAudioBuffer() function in OHOS::Media::ScreenCaptureServiceStub
259 return screenCaptureServer_->AcquireAudioBuffer(audioBuffer, type); in AcquireAudioBuffer()
517 int32_t ScreenCaptureServiceStub::AcquireAudioBuffer(MessageParcel &data, MessageParcel &reply)
523 int32_t ret = AcquireAudioBuffer(audioBuffer, type);
H A Dscreen_capture_service_proxy.h41 int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) override;
H A Di_standard_screen_capture_service.h52 virtual int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) = 0;
H A Dscreen_capture_service_proxy.cpp316 int32_t ScreenCaptureServiceProxy::AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, in AcquireAudioBuffer() function in OHOS::Media::ScreenCaptureServiceProxy
331 "AcquireAudioBuffer failed, error: %{public}d", error); in AcquireAudioBuffer()
/foundation/multimedia/player_framework/test/unittest/screen_capture_test/native/src/
H A Dscreen_capture_native_mock.cpp179 int32_t ScreenCaptureNativeMock::AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, in AcquireAudioBuffer() function in OHOS::Media::ScreenCaptureNativeMock
183 return screenCapture_->AcquireAudioBuffer(audioBuffer, type); in AcquireAudioBuffer()
/foundation/multimedia/player_framework/frameworks/native/screen_capture/
H A Dscreen_capture_impl.h45 int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audiobuffer, AudioCaptureSourceType type) override;
H A Dscreen_capture_impl.cpp345 int32_t ScreenCaptureImpl::AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audiobuffer, AudioCaptureSourceType type) in AcquireAudioBuffer() function in OHOS::Media::ScreenCaptureImpl
347 MEDIA_LOGD("ScreenCaptureImpl:0x%{public}06" PRIXPTR " AcquireAudioBuffer in", FAKE_POINTER(this)); in AcquireAudioBuffer()
350 return screenCaptureService_->AcquireAudioBuffer(audiobuffer, type); in AcquireAudioBuffer()
/foundation/multimedia/player_framework/services/include/
H A Di_screen_capture_service.h43 virtual int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) = 0;
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencaptureacquireaudiobuffer_fuzzer/
H A Dscreencaptureacquireaudiobuffer_fuzzer.cpp94 TestScreenCapture::AcquireAudioBuffer(buffer, type); in FuzzScreenCaptureAcquireAudioBuffer()
/foundation/multimedia/player_framework/services/services/screen_capture/client/
H A Dscreen_capture_client.h45 int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) override;
H A Dscreen_capture_client.cpp218 int32_t ScreenCaptureClient::AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) in AcquireAudioBuffer() function in OHOS::Media::ScreenCaptureClient
222 return screenCaptureProxy_->AcquireAudioBuffer(audioBuffer, type); in AcquireAudioBuffer()
/foundation/multimedia/player_framework/test/unittest/screen_capture_test/
H A Dscreen_capture_mock.h87 virtual int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) = 0;
/foundation/multimedia/player_framework/test/unittest/screen_capture_test/native/include/
H A Dscreen_capture_native_mock.h42 int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) override;
/foundation/multimedia/player_framework/test/unittest/screen_capture_test/capi/include/
H A Dscreen_capture_capi_mock.h42 int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer,
/foundation/multimedia/player_framework/services/services/screen_capture/server/
H A Daudio_capturer_wrapper.h63 int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer);
H A Dscreen_capture_server.cpp2002 int32_t ScreenCaptureServer::AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) in AcquireAudioBuffer() function in OHOS::Media::ScreenCaptureServer
2004 MediaTrace trace("ScreenCaptureServer::AcquireAudioBuffer"); in AcquireAudioBuffer()
2006 MEDIA_LOGD("ScreenCaptureServer: 0x%{public}06" PRIXPTR " AcquireAudioBuffer start, state:%{public}d, " in AcquireAudioBuffer()
2009 "AcquireAudioBuffer failed, capture is not STARTED, state:%{public}d, type:%{public}d", captureState_, type); in AcquireAudioBuffer()
2013 return micAudioCapture_->AcquireAudioBuffer(audioBuffer); in AcquireAudioBuffer()
2017 return innerAudioCapture_->AcquireAudioBuffer(audioBuffer); in AcquireAudioBuffer()
2019 MEDIA_LOGE("AcquireAudioBuffer failed, source type not support, type:%{public}d", type); in AcquireAudioBuffer()
2021 "AcquireAudioBuffer failed, source type not support"); in AcquireAudioBuffer()
2033 if (micAudioCapture_->AcquireAudioBuffer(micAudioBuffer) != MSERR_OK) { in AcquireAudioBufferMix()
2034 MEDIA_LOGE("micAudioCapture AcquireAudioBuffer faile in AcquireAudioBufferMix()
[all...]
H A Daudio_capturer_wrapper.cpp327 int32_t AudioCapturerWrapper::AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer) in AcquireAudioBuffer() function in OHOS::Media::AudioCapturerWrapper
331 CHECK_AND_RETURN_RET_LOG(isRunning_.load(), MSERR_UNKNOWN, "AcquireAudioBuffer failed, not running"); in AcquireAudioBuffer()
336 MEDIA_LOGE("AcquireAudioBuffer timeout, threadName:%{public}s", threadName_.c_str()); in AcquireAudioBuffer()
H A Dscreen_capture_server.h265 int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) override;
/foundation/multimedia/player_framework/interfaces/inner_api/native/
H A Dscreen_capture.h259 virtual int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audiobuffer, AudioCaptureSourceType type) = 0;
/foundation/multimedia/player_framework/frameworks/native/capi/screencapture/
H A Dnative_avscreen_capture.cpp110 static OH_AVSCREEN_CAPTURE_ErrCode AcquireAudioBuffer(const std::shared_ptr<ScreenCapture> &screenCapture, in AcquireAudioBuffer() function in NativeScreenCaptureDataCallback
114 int32_t ret = screenCapture->AcquireAudioBuffer(aBuffer, type); in AcquireAudioBuffer()
116 "AcquireAudioBuffer failed not permit! ret:%{public}d", ret); in AcquireAudioBuffer()
118 "AcquireAudioBuffer failed aBuffer no memory!"); in AcquireAudioBuffer()
122 "AcquireAudioBuffer failed avBuffer no memory!"); in AcquireAudioBuffer()
128 "AcquireAudioBuffer failed ohAvBuffer no memory!"); in AcquireAudioBuffer()
161 AcquireAudioBuffer(screenCaptureObj->screenCapture_, ohAvBuffer, timestamp, audioSourceType); in OnProcessAudioBuffer()
608 MEDIA_LOGE("AcquireAudioBuffer() not permit for has set DataCallback"); in OH_AVScreenCapture_AcquireAudioBuffer()
613 screenCaptureObj->screenCapture_->AcquireAudioBuffer(aBuffer, static_cast<AudioCaptureSourceType>(type)); in OH_AVScreenCapture_AcquireAudioBuffer()
614 CHECK_AND_RETURN_RET_LOG(ret == MSERR_OK, AV_SCREEN_CAPTURE_ERR_OPERATE_NOT_PERMIT, "AcquireAudioBuffer faile in OH_AVScreenCapture_AcquireAudioBuffer()
[all...]
/foundation/multimedia/player_framework/test/unittest/screen_capture_test/screen_capture_unittest/src/
H A Dscreen_capture_unit_test_state.cpp54 if (screenCapture_->AcquireAudioBuffer(audioBuffer, type) == MSERR_OK) { in OnAudioBufferAvailable()
56 cout << "AcquireAudioBuffer failed, audio buffer empty, PLEASE CHECK IF IT IS OK!!!" << in OnAudioBufferAvailable()
60 cout << "AcquireAudioBuffer, audioBufferLen:" << audioBuffer->length << in OnAudioBufferAvailable()
265 EXPECT_NE(MSERR_OK, screenCapture_->AcquireAudioBuffer(audioBuffer, type)); in CheckDataCallbackAudio()
646 if (screenCapture_->AcquireAudioBuffer(audioBuffer, type) == MSERR_OK) { in AudioLoop()
648 cout << "AcquireAudioBuffer failed, audio buffer is nullptr" << endl; in AudioLoop()
651 cout << "index audio:" << index_audio_frame++ << ", AcquireAudioBuffer, audioBufferLen:" << in AudioLoop()
656 cout << "AcquireAudioBuffer failed" << endl; in AudioLoop()
672 if (screenCapture_->AcquireAudioBuffer(audioBuffer, type) == MSERR_OK) { in AudioLoopWithoutRelease()
674 cout << "AcquireAudioBuffer faile in AudioLoopWithoutRelease()
[all...]
/foundation/multimedia/player_framework/test/unittest/screen_capture_test/capi/src/
H A Dscreen_capture_capi_mock.cpp291 int32_t ScreenCaptureCapiMock::AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, in AcquireAudioBuffer() function in ScreenCaptureCapiMock

Completed in 17 milliseconds