Update ChatBoxViewModel.cs
This commit is contained in:
1 parent
3b79db2b4b
commit
7289b3b65b
1 file changed
+3
-2
@@ -133,9 +133,10 @@ namespace HandyControlDemo.ViewModel
|
||||
}
|
||||
}
|
||||
|
||||
var cachePath = $"\"{AudioCachePath}\\{Guid.NewGuid().ToString()}\"";
|
||||
var cachePath = $"{AudioCachePath}\\{Guid.NewGuid().ToString()}";
|
||||
var cachePathWithQuotes = $"\"{cachePath}\"";
|
||||
ExternDllHelper.MciSendString("stop movie", "", 0, 0);
|
||||
ExternDllHelper.MciSendString($"save movie {cachePath}", "", 0, 0);
|
||||
ExternDllHelper.MciSendString($"save movie {cachePathWithQuotes}", "", 0, 0);
|
||||
ExternDllHelper.MciSendString("close movie", "", 0, 0);
|
||||
|
||||
_stopwatch.Stop();
|
||||
|
||||
Reference in new issue
Block a user