Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributedhardware/distributed_audio/common/src/
H A Ddaudio_latency_test.cpp104 int32_t playSize = static_cast<int32_t>(playBeepTime_.size()); in ComputeLatency() local
106 if (playSize == 0 || playBeepTime_.size() != captureBeepTime_.size()) { in ComputeLatency()
107 DHLOGE("Record num is not equal %{public}d: %{public}d", playSize, captureSize); in ComputeLatency()
110 DHLOGI("Record %{public}d times frame high.", playSize); in ComputeLatency()
112 for (int32_t i = 0; i < playSize; i++) { in ComputeLatency()
117 DHLOGI("Audio latency in average is: %{public}d us.", sum / playSize); in ComputeLatency()
120 return sum / playSize; in ComputeLatency()
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/test/example/
H A Daudio_process_client_test.cpp976 int32_t playSize = g_playBeepTime_.size(); in CountLatencyTime() local
978 …cout << "Record num is not equal (" << playSize << " " << g_captureBeepTime_.size() << ")" << end… in CountLatencyTime()
981 cout << "record " << playSize << "times frame high." << endl; in CountLatencyTime()
983 for (int32_t i = 0; i < playSize; i++) { in CountLatencyTime()
989 if (playSize == 0) { in CountLatencyTime()
993 cout << "Remote audio latency in average is: " << sum / playSize << " (us)." << endl; in CountLatencyTime()