胡超1 1 year ago
parent
commit
d5beb48513
  1. 5
      DevicesService/Commen/ScriptCallbackObject.cs

5
DevicesService/Commen/ScriptCallbackObject.cs

@ -748,6 +748,11 @@ namespace DevicesService.Common
{ {
if (isopen) if (isopen)
{ {
//如果开始录音上次未结束,直接结束上次录音,开始新的录音
if (waveIn != null)
{
StopSoundRecor(false);
}
if (waveIn == null) if (waveIn == null)
{ {
Action<bool> a = StateSoundRecor; Action<bool> a = StateSoundRecor;

Loading…
Cancel
Save