playing too after record

This commit is contained in:
talksik
2023-04-28 15:56:43 -07:00
parent b89fb9c28c
commit 680906c0f4
+1 -1
View File
@@ -40,7 +40,7 @@ while True:
if state:
if audioInstance.isRecording():
turnOffLED()
savedFileName = audioInstance.stopRecord(save=True, play=False)
savedFileName = audioInstance.stopRecord(save=True, play=True)
if savedFileName is not None:
print("saved file: " + savedFileName)
# make a request with the saved file to the api