Searched refs:totalSizeInFrame (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/common/include/ |
H A D | oh_audio_buffer.h | 63 uint32_t totalSizeInFrame; member 114 … OHAudioBuffer(AudioBufferHolder bufferHolder, uint32_t totalSizeInFrame, uint32_t spanSizeInFrame, 119 …static std::shared_ptr<OHAudioBuffer> CreateFromLocal(uint32_t totalSizeInFrame, uint32_t spanSize… 121 …static std::shared_ptr<OHAudioBuffer> CreateFromRemote(uint32_t totalSizeInFrame, uint32_t spanSiz… 130 …int32_t GetSizeParameter(uint32_t &totalSizeInFrame, uint32_t &spanSizeInFrame, uint32_t &byteSize…
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/common/src/ |
H A D | oh_audio_buffer.cpp | 210 OHAudioBuffer::OHAudioBuffer(AudioBufferHolder bufferHolder, uint32_t totalSizeInFrame, uint32_t sp… in OHAudioBuffer() argument 211 uint32_t byteSizePerFrame) : bufferHolder_(bufferHolder), totalSizeInFrame_(totalSizeInFrame), in OHAudioBuffer() 288 basicBufferInfo_->totalSizeInFrame = totalSizeInFrame_; in Init() 306 " %{public}d", totalSizeInFrame, spanSizeInFrame, byteSizePerFrame); in CreateFromLocal() 309 …:shared_ptr<OHAudioBuffer> buffer = std::make_shared<OHAudioBuffer>(bufferHolder, totalSizeInFrame, in CreateFromLocal() 327 …:shared_ptr<OHAudioBuffer> buffer = std::make_shared<OHAudioBuffer>(bufferHolder, totalSizeInFrame, in CreateFromRemote() 368 uint32_t totalSizeInFrame = parcel.ReadUint32(); in ReadFromParcel() local 375 …std::shared_ptr<OHAudioBuffer> buffer = OHAudioBuffer::CreateFromRemote(totalSizeInFrame, spanSize… in ReadFromParcel() 379 } else if (totalSizeInFrame != buffer->basicBufferInfo_->totalSizeInFrame || in ReadFromParcel() 397 int32_t OHAudioBuffer::GetSizeParameter(uint32_t &totalSizeInFrame, uint32_t &spanSizeInFrame, in GetSizeParameter() argument [all …]
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/test/unittest/ |
H A D | audio_service_common_unit_test.cpp | 144 uint32_t totalSizeInFrame = spanSizeInFrame - 1; variable 146 …oHAudioBuffer = OHAudioBuffer::CreateFromLocal(totalSizeInFrame, spanSizeInFrame, byteSizePerFrame… 159 uint32_t totalSizeInFrame = spanSizeInFrame; variable 161 …oHAudioBuffer = OHAudioBuffer::CreateFromLocal(totalSizeInFrame, spanSizeInFrame, byteSizePerFrame… 170 EXPECT_EQ(totalSizeInFrame, totalSizeInFrameRet);
|
H A D | audio_service_unit_test.cpp | 89 uint32_t totalSizeInFrame = spanSizeInFrame - 1; variable 91 buffer = OHAudioBuffer::CreateFromLocal(totalSizeInFrame, spanSizeInFrame, byteSizePerFrame);
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/client/src/ |
H A D | capturer_in_client.cpp | 741 uint32_t totalSizeInFrame = 0; in InitSharedBuffer() local 743 ret = clientBuffer_->GetSizeParameter(totalSizeInFrame, spanSizeInFrame_, byteSizePerFrame); in InitSharedBuffer() 751 …"%{public}zu] clientSpanSizeInByte_[%{public}zu]", totalSizeInFrame, spanSizeInFrame_, sizePerFram… in InitSharedBuffer()
|
H A D | renderer_in_client.cpp | 467 uint32_t totalSizeInFrame = 0; in InitSharedBuffer() local 469 ret = clientBuffer_->GetSizeParameter(totalSizeInFrame, spanSizeInFrame_, byteSizePerFrame); in InitSharedBuffer() 478 … "clientSpanSizeInByte_[%{public}zu]", totalSizeInFrame, spanSizeInFrame_, sizePerFrameInByte_, in InitSharedBuffer()
|