|
@@ -20,10 +20,10 @@ class Ear(object):
|
|
|
def wait(self):
|
|
|
self.robot.logger.info(self.log('唤醒模式'))
|
|
|
print(22)
|
|
|
- import pyaudio
|
|
|
- pa = pyaudio.PyAudio()
|
|
|
+ #import pyaudio
|
|
|
+ #pa = pyaudio.PyAudio()
|
|
|
#print(pa.get_device_count())
|
|
|
- return
|
|
|
+ #return
|
|
|
if self.detector is not None:
|
|
|
self.detector.terminate()
|
|
|
|