Lines Matching refs:cout

152     std::cout << "**********************************************************************************" << std::endl;
154 std::cout << "Distributed Audio Test Demo Bin v1.3." << std::endl;
155 std::cout << "**********************************************************************************" << std::endl;
156 std::cout << std::endl;
157 std::cout << "Init distributed audio hdf service." << std::endl;
160 std::cout << "Distributed audio manager is null, Please Check network!" << std::endl;
163 std::cout << "Load audio manager success." << std::endl;
166 std::cout << "Cannot find distributed device. Please input 9 to query distribtued device." << std::endl;
168 std::cout << "Find one distributed device: " << g_devId << std::endl;
176 std::cout << "Audio manager is null, Please Check network!" << std::endl;
181 std::cout << "Get audio devices failed!" << std::endl;
204 std::cout << "Receive abnormal event, Demo quit." << std::endl;
212 std::cout << std::endl;
213 std::cout << "**********************************************************************************" << std::endl;
214 std::cout << "Event recived: " << key << std::endl;
215 std::cout << "Condition: " << con << std::endl;
216 std::cout << "Value: " << val << std::endl;
217 std::cout << "**********************************************************************************" << std::endl;
218 std::cout << std::endl;
237 std::cout << "Input device id is wrong." << std::endl;
247 std::cout << "Load audio device failed, ret: " << ret << std::endl;
257 std::cout << "Speaker device is already opened." << std::endl;
261 std::cout << "Load spk failed" << std::endl;
268 std::cout << "Register observer failed, ret: " << ret << std::endl;
284 std::cout << "Open SPK device failed, ret: " << ret << std::endl;
288 std::cout << "Open SPK device success." << std::endl;
307 std::cout << "SPK device is null." << std::endl;
311 std::cout << "Play thread setname failed." << std::endl;
313 std::cout << "Playing thread started." << std::endl;
329 std::cout<<"RenderFrame failed, index: "<< g_frameIndex << ", ret: " << ret << std::endl;
337 std::cout << "Playing thread stopped." << std::endl;
343 std::cout << "Speaker device is not opened, start render failed." << std::endl;
355 std::cout << "Audio file frame num: " << g_frameNum << std::endl;
366 std::cout << "open spk file path failed!" << std::endl;
380 std::cout << "Speaker device is started." << std::endl;
392 std::cout << "SPK device is null." << std::endl;
397 std::cout << "Speaker device is not opened." << std::endl;
402 std::cout << "Speaker device is not started." << std::endl;
407 std::cout << "Speaker device is already stoped." << std::endl;
422 std::cout << "Speaker device is not opened." << std::endl;
432 std::cout << "Close speaker failed" << std::endl;
448 std::cout << "Close SPK device success." << std::endl;
463 std::cout << "Input device id is wrong." << std::endl;
473 std::cout << "Load audio device failed, ret: " << ret << std::endl;
483 std::cout << "Mic device is already opened." << std::endl;
487 std::cout << "Load audio device failed." << std::endl;
503 std::cout << "Open MIC device failed." << std::endl;
507 std::cout << "Open MIC device success." << std::endl;
526 std::cout << "MIC device is null." << std::endl;
530 std::cout << "Capture thread setname failed." << std::endl;
532 std::cout << "Capturing thread started." << std::endl;
542 std::cout << "CaptureFrame failed, ret: " << ret << std::endl;
547 std::cout << "fwrite data failed." << std::endl;
552 std::cout << "Capturing thread stopped." << std::endl;
558 std::cout << "Mic device is not opened, start capture failed." << std::endl;
565 std::cout << "Open pcm file failed." << std::endl;
573 std::cout << "Mic device is already started." << std::endl;
586 std::cout << "MIC device is null." << std::endl;
590 std::cout << "Mic device is not opened." << std::endl;
594 std::cout << "Mic device is not started." << std::endl;
598 std::cout << "Mic device is already started." << std::endl;
612 std::cout << "Mic device is not opened." << std::endl;
622 std::cout << "Close mic failed." << std::endl;
634 std::cout << "Close MIC device success." << std::endl;
641 std::cout << "Speaker is not opened, can not set volume." << std::endl;
644 std::cout << "Please input volum to set [0,15]." << std::endl;
646 std::cout << "Volume is invalid." << std::endl;
649 std::cout << "Set volume: " << vol << std::endl;
655 std::cout << "Set volume failed" << std::endl;
664 std::cout << "Speaker is not opened, can not get volume." << std::endl;
672 std::cout << "Get Volume failed." << std::endl;
675 std::cout << "Get volume success. volume: " << vol <<std::endl;
741 std::cout << "-----------Local Device Info------" << std::endl;
747 std::cout << "-------Remote Device info---------" << std::endl;
752 std::cout << "Device Num = " << infoNum << std::endl;
757 std::cout << "SoftBusDumpDeviceInfo complete!" << std::endl;
764 std::cout << "nodeInfo is nullptr" << std::endl;
769 std::cout << "NetworkId = " << nodeInfo->networkId << std::endl;
774 std::cout << "GetNodeKeyInfo Fail!" << std::endl;
776 std::cout << "Udid = " << reinterpret_cast<char *>(udid) << std::endl;
783 std::cout << "uuid = " << reinterpret_cast<char *>(uuid) << std::endl;
790 std::cout << "nodeInfo is nullptr" << std::endl;
796 std::cout << "NetworkId = " << nodeInfo->networkId << std::endl;
801 std::cout << "GetNodeKeyInfo Fail!" << std::endl;
803 std::cout << "Udid = " << reinterpret_cast<char *>(udid) << std::endl;
810 std::cout << "uuid = " << reinterpret_cast<char *>(uuid) << std::endl;