Home
last modified time | relevance | path

Searched refs:readbufDesc (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/client/src/
H A Daudio_process_in_client.cpp665 BufferDesc readbufDesc = {nullptr, 0, 0}; in ReadFromProcessClient() local
666 int32_t ret = audioBuffer_->GetReadbuffer(curReadPos, readbufDesc); in ReadFromProcessClient()
667 CHECK_AND_RETURN_RET_LOG(ret == SUCCESS && readbufDesc.buffer != nullptr && in ReadFromProcessClient()
668 readbufDesc.bufLength == spanSizeInByte_ && readbufDesc.dataLength == spanSizeInByte_, in ReadFromProcessClient()
671 static_cast<void *>(readbufDesc.buffer), spanSizeInByte_); in ReadFromProcessClient()
674 … DumpFileUtil::WriteDumpFile(dumpFile_, static_cast<void *>(readbufDesc.buffer), spanSizeInByte_); in ReadFromProcessClient()
675 DfxOperation(readbufDesc, processConfig_.streamInfo.format, processConfig_.streamInfo.channels); in ReadFromProcessClient()
677 ret = memset_s(readbufDesc.buffer, readbufDesc.bufLength, 0, readbufDesc.bufLength); in ReadFromProcessClient()