Lines Matching refs:cout

148     std::cout << "**********************************************************************************" << std::endl;
150 std::cout << "Distributed Audio Test Demo Bin v1.3." << std::endl;
151 std::cout << "**********************************************************************************" << std::endl;
152 std::cout << std::endl;
153 std::cout << "Init distributed audio hdf service." << std::endl;
156 std::cout << "Distributed audio manager is null, Please Check network!" << std::endl;
159 std::cout << "Load audio manager success." << std::endl;
162 std::cout << "Cannot find distributed device. Please input 9 to query distribtued device." << std::endl;
164 std::cout << "Find one distributed device: " << g_devId << std::endl;
172 std::cout << "Audio manager is null, Please Check network!" << std::endl;
177 std::cout << "Get audio devices failed!" << std::endl;
200 std::cout << "Receive abnormal event, Demo quit." << std::endl;
208 std::cout << std::endl;
209 std::cout << "**********************************************************************************" << std::endl;
210 std::cout << "Event recived: " << key << std::endl;
211 std::cout << "Condition: " << con << std::endl;
212 std::cout << "Value: " << val << std::endl;
213 std::cout << "**********************************************************************************" << std::endl;
214 std::cout << std::endl;
233 std::cout << "Input device id is wrong." << std::endl;
243 std::cout << "Load audio device failed, ret: " << ret << std::endl;
253 std::cout << "Speaker device is already opened." << std::endl;
257 std::cout << "Load spk failed" << std::endl;
264 std::cout << "Register observer failed, ret: " << ret << std::endl;
280 std::cout << "Open SPK device failed, ret: " << ret << std::endl;
284 std::cout << "Open SPK device success." << std::endl;
303 std::cout << "SPK device is null." << std::endl;
307 std::cout << "Play thread setname failed." << std::endl;
309 std::cout << "Playing thread started." << std::endl;
325 std::cout<<"RenderFrame failed, index: "<< g_frameIndex << ", ret: " << ret << std::endl;
333 std::cout << "Playing thread stopped." << std::endl;
339 std::cout << "Speaker device is not opened, start render failed." << std::endl;
351 std::cout << "Audio file frame num: " << g_frameNum << std::endl;
362 std::cout << "open spk file path failed!" << std::endl;
376 std::cout << "Speaker device is started." << std::endl;
388 std::cout << "SPK device is null." << std::endl;
393 std::cout << "Speaker device is not opened." << std::endl;
398 std::cout << "Speaker device is not started." << std::endl;
403 std::cout << "Speaker device is already stoped." << std::endl;
418 std::cout << "Speaker device is not opened." << std::endl;
428 std::cout << "Close speaker failed" << std::endl;
444 std::cout << "Close SPK device success." << std::endl;
459 std::cout << "Input device id is wrong." << std::endl;
469 std::cout << "Load audio device failed, ret: " << ret << std::endl;
479 std::cout << "Mic device is already opened." << std::endl;
483 std::cout << "Load audio device failed." << std::endl;
499 std::cout << "Open MIC device failed." << std::endl;
503 std::cout << "Open MIC device success." << std::endl;
522 std::cout << "MIC device is null." << std::endl;
526 std::cout << "Capture thread setname failed." << std::endl;
528 std::cout << "Capturing thread started." << std::endl;
538 std::cout << "CaptureFrame failed, ret: " << ret << std::endl;
543 std::cout << "fwrite data failed." << std::endl;
548 std::cout << "Capturing thread stopped." << std::endl;
554 std::cout << "Mic device is not opened, start capture failed." << std::endl;
561 std::cout << "Open pcm file failed." << std::endl;
569 std::cout << "Mic device is already started." << std::endl;
582 std::cout << "MIC device is null." << std::endl;
586 std::cout << "Mic device is not opened." << std::endl;
590 std::cout << "Mic device is not started." << std::endl;
594 std::cout << "Mic device is already started." << std::endl;
608 std::cout << "Mic device is not opened." << std::endl;
618 std::cout << "Close mic failed." << std::endl;
630 std::cout << "Close MIC device success." << std::endl;
637 std::cout << "Speaker is not opened, can not set volume." << std::endl;
640 std::cout << "Please input volum to set [0,15]." << std::endl;
642 std::cout << "Volume is invalid." << std::endl;
645 std::cout << "Set volume: " << vol << std::endl;
651 std::cout << "Set volume failed" << std::endl;
660 std::cout << "Speaker is not opened, can not get volume." << std::endl;
668 std::cout << "Get Volume failed." << std::endl;
671 std::cout << "Get volume success. volume: " << vol <<std::endl;