 c99ee0cc5a
			
		
	
	
		c99ee0cc5a
		
	
	
	
	
		
			
			+ 修复连接数字人之前产生大量ws信息问题; + 增加数字人(ue、live2d、xuniren)通讯接口:实时日志; + 更新数字人(ue、live2d、xuniren)通讯接口:音频推送。
		
			
				
	
	
		
			6 lines
		
	
	
		
			197 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			197 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import pyaudio
 | |
| audio = pyaudio.PyAudio()
 | |
| for i in range(audio.get_device_count()):
 | |
|         devInfo = audio.get_device_info_by_index(i)
 | |
|         if devInfo['hostApi'] == 0:
 | |
|             print(devInfo) |