Add proper docstring
parent
e3e52d63a0
commit
96bbd384ad
|
@ -39,11 +39,7 @@ def wait_while_speaking():
|
||||||
|
|
||||||
|
|
||||||
def stop_speaking():
|
def stop_speaking():
|
||||||
# TODO: Less hacky approach to this once Audio Manager is implemented
|
"""Stop mycroft speech.
|
||||||
# Skills should only be able to stop speech they've initiated
|
|
||||||
from mycroft.messagebus.send import send
|
|
||||||
send('mycroft.audio.speech.stop')
|
|
||||||
|
|
||||||
# Block until stopped
|
TODO: Skills should only be able to stop speech they've initiated
|
||||||
while check_for_signal("isSpeaking", -1):
|
"""
|
||||||
time.sleep(0.25)
|
|
||||||
|
|
Loading…
Reference in New Issue