/foundation/multimedia/audio_lite/frameworks/passthrough/ |
H A D | audio_capturer_client.cpp | 113 int32_t AudioCapturer::AudioCapturerClient::Read(uint8_t *buffer, size_t userSize, bool isBlockingRead) in Read() argument 119 return impl_->Read(buffer, userSize, isBlockingRead); in Read()
|
H A D | audio_capturer_client.h | 40 int32_t Read(uint8_t *buffer, size_t userSize, bool isBlockingRead);
|
/foundation/multimedia/audio_lite/frameworks/ |
H A D | audio_capturer.cpp | 93 int32_t AudioCapturer::Read(uint8_t *buffer, size_t userSize, bool isBlockingRead) in Read() argument 96 return impl_->Read(buffer, userSize, isBlockingRead); in Read()
|
/foundation/multimedia/audio_lite/services/impl/ |
H A D | audio_capturer_impl.cpp | 201 int32_t AudioCapturerImpl::Read(uint8_t *buffer, size_t userSize, bool isBlockingRead) in Read() argument 203 if (buffer == nullptr || !userSize) { in Read() 204 MEDIA_ERR_LOG("Invalid buffer or userSize:%u", userSize); in Read() 217 frame.bufferLen = userSize; in Read() 228 stream.bufferLen = userSize; in Read()
|
H A D | audio_capturer_impl.h | 45 int32_t Read(uint8_t *buffer, size_t userSize, bool isBlockingRead);
|
/foundation/multimedia/audio_lite/interfaces/kits/ |
H A D | audio_capturer.h | 196 * @param userSize Indicates the size of the buffer into which the audio data is to be written, in bytes.
197 * <b>userSize >= frameCount * channelCount * BytesPerSample</b> must evaluate to <b>true</b>. You can call
201 * <b>userSize</b>. If the reading fails, one of the following error codes is returned:
208 int32_t Read(uint8_t *buffer, size_t userSize, bool isBlockingRead);
|
/foundation/multimedia/audio_lite/frameworks/binder/ |
H A D | audio_capturer_client.h | 44 int32_t Read(uint8_t *buffer, size_t userSize, bool isBlockingRead);
|
H A D | audio_capturer_client.cpp | 379 int32_t AudioCapturer::AudioCapturerClient::Read(uint8_t *buffer, size_t userSize, bool isBlockingRead) in Read() argument 381 if (buffer == nullptr || !userSize) { in Read() 398 if (dataSize - sizeof(Timestamp) > userSize) { in Read() 404 (void)memcpy_s(buffer, userSize, buf + sizeof(Timestamp), dataSize - sizeof(Timestamp)); in Read()
|
/foundation/multimedia/audio_framework/services/audio_service/client/src/ |
H A D | capturer_in_client.cpp | 157 int32_t Read(uint8_t &buffer, size_t userSize, bool isBlockingRead) override; 239 int32_t HandleCapturerRead(size_t &readSize, size_t &userSize, uint8_t &buffer, bool isBlockingRead); 1589 int32_t CapturerInClientInner::HandleCapturerRead(size_t &readSize, size_t &userSize, uint8_t &buffer, in HandleCapturerRead() argument 1592 Trace trace("CapturerInClientInner::HandleCapturerRead " + std::to_string(userSize)); in HandleCapturerRead() 1593 while (readSize < userSize) { in HandleCapturerRead() 1594 AUDIO_DEBUG_LOG("readSize %{public}zu < userSize %{public}zu", readSize, userSize); in HandleCapturerRead() 1597 size_t readableSize = std::min(result.size, userSize - readSize); in HandleCapturerRead() 1598 if (readSize + result.size >= userSize) { // If ringCache is sufficient in HandleCapturerRead() 1635 int32_t CapturerInClientInner::Read(uint8_t &buffer, size_t userSize, boo argument [all...] |
H A D | fast_audio_stream.cpp | 599 int32_t FastAudioStream::Read(uint8_t &buffer, size_t userSize, bool isBlockingRead) in Read() argument
|
H A D | renderer_in_client.cpp | 1953 int32_t RendererInClientInner::Read(uint8_t &buffer, size_t userSize, bool isBlockingRead) in Read() argument
|
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocapturer/include/ |
H A D | audio_capturer.h | 312 * @param userSize Indicates the size of the buffer into which the audio data is to be written, in bytes. 313 * <b>userSize >= frameCount * channelCount * BytesPerSample</b> must evaluate to <b>true</b>. You can call 317 * <b>userSize</b>. If the reading fails, one of the following error codes is returned. 323 virtual int32_t Read(uint8_t &buffer, size_t userSize, bool isBlockingRead) const = 0;
|
/foundation/multimedia/audio_framework/frameworks/js/napi/audiocapturer/ |
H A D | napi_audio_capturer.h | 53 uint32_t userSize; member
|
H A D | napi_audio_capturer.cpp | 438 uint32_t userSize = context->userSize; in ReadFromNative() local 439 uint8_t *buffer = new uint8_t[userSize]; in ReadFromNative() 442 while (static_cast<uint32_t>(bytesRead) < context->userSize) { in ReadFromNative() 444 userSize - bytesRead, context->isBlocking); in ReadFromNative() 471 context->status = NapiParamUtils::GetValueUInt32(env, context->userSize, argv[PARAM0]); in Read() 472 NAPI_CHECK_ARGS_RETURN_VOID(context, context->status == napi_ok, "GetValueUInt32 userSize failed", in Read() 475 NAPI_CHECK_ARGS_RETURN_VOID(context, context->status == napi_ok, "GetValueUInt32 userSize failed", in Read()
|
/foundation/multimedia/audio_framework/frameworks/native/audiostream/include/ |
H A D | i_audio_stream.h | 201 virtual int32_t Read(uint8_t &buffer, size_t userSize, bool isBlockingRead) = 0;
|
H A D | fast_audio_stream.h | 145 int32_t Read(uint8_t &buffer, size_t userSize, bool isBlockingRead) override;
|
/foundation/multimedia/audio_framework/services/audio_service/client/include/ |
H A D | renderer_in_client_private.h | 132 int32_t Read(uint8_t &buffer, size_t userSize, bool isBlockingRead) override;
|
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/include/ |
H A D | audio_capturer_private.h | 45 int32_t Read(uint8_t &buffer, size_t userSize, bool isBlockingRead) const override;
|
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/src/ |
H A D | audio_capturer.cpp | 553 int32_t AudioCapturerPrivate::Read(uint8_t &buffer, size_t userSize, bool isBlockingRead) const in Read() argument 556 CheckSignalData(&buffer, userSize); in Read() 557 int size = audioStream_->Read(buffer, userSize, isBlockingRead); in Read()
|