Searched refs:channelData (Results 1 - 5 of 5) sorted by relevance
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/wakeup/ |
H A D | wakeup_source_process.cpp | 105 void WakeupSourceProcess::WriteChannelData(const std::vector<uint8_t> &channelData, uint32_t channelId) in WriteChannelData() argument 112 auto arrayBuffer = CreateArrayBuffer<uint8_t>(channelData.size(), &channelData[0]); in WriteChannelData() 121 WriteDebugData(writeDebug_, channelData, channelId); in WriteChannelData() 124 bool WakeupSourceProcess::ReadChannelData(std::vector<uint8_t> &channelData, uint32_t channelId) in ReadChannelData() argument 138 channelData.insert(channelData.end(), arrayBuffer->GetData(), arrayBuffer->GetData() + arrayBuffer->GetSize()); in ReadChannelData() 139 WriteDebugData(readDebug_, channelData, channelId); in ReadChannelData() 161 const std::vector<uint8_t> &channelData, uint32_t channelId) in WriteDebugData() 168 debugVec[channelId]->WriteData(reinterpret_cast<const char *>(channelData in WriteDebugData() 160 WriteDebugData(const std::vector<std::shared_ptr<AudioDebug>> &debugVec, const std::vector<uint8_t> &channelData, uint32_t channelId) WriteDebugData() argument [all...] |
H A D | wakeup_source_process.h | 40 void WriteChannelData(const std::vector<uint8_t> &channelData, uint32_t channelId); 41 bool ReadChannelData(std::vector<uint8_t> &channelData, uint32_t channelId); 44 const std::vector<uint8_t> &channelData, uint32_t channelId);
|
/foundation/ai/intelligent_voice_framework/utils/ |
H A D | intell_voice_util.cpp | 54 std::unique_ptr<int16_t[]> channelData = std::make_unique<int16_t[]>(channelLen); in DeinterleaveAudioData() local 55 if (channelData == nullptr) { in DeinterleaveAudioData() 56 INTELL_VOICE_LOG_ERROR("channelData is nullptr"); in DeinterleaveAudioData() 61 channelData[j] = buffer[i + j * channelCnt]; in DeinterleaveAudioData() 63 std::vector<uint8_t> item(reinterpret_cast<uint8_t *>(channelData.get()), in DeinterleaveAudioData() 64 reinterpret_cast<uint8_t *>(channelData.get()) + channelLen * sizeof(int16_t)); in DeinterleaveAudioData()
|
/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_tcp_connection.c | 596 AuthChannelData channelData = {0}; in NotifyChannelDataReceived() local 597 channelData.module = head->module; in NotifyChannelDataReceived() 598 channelData.seq = head->seq; in NotifyChannelDataReceived() 599 channelData.flag = head->flag; in NotifyChannelDataReceived() 600 channelData.len = head->len; in NotifyChannelDataReceived() 601 channelData.data = data; in NotifyChannelDataReceived() 602 listener->onDataReceived(channelId, &channelData); in NotifyChannelDataReceived()
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/auth/src/ |
H A D | trans_auth_manager.c | 839 AuthChannelData channelData = { in TransPostAuthChannelMsg() local 846 ret = AuthPostChannelData(authId, &channelData); in TransPostAuthChannelMsg() 867 AuthChannelData channelData = { in TransPostAuthChannelErrMsg() local 874 if (AuthPostChannelData(authId, &channelData) != SOFTBUS_OK) { in TransPostAuthChannelErrMsg() 1150 AuthChannelData channelData = { in TransSendAuthMsg() local 1157 int32_t ret = AuthPostChannelData(authId, &channelData); in TransSendAuthMsg()
|
Completed in 5 milliseconds