Close stream when finished (*-player)
This commit is contained in:
1 parent
4c01396e46
commit
04c2b85e2b
2 files changed
+6
No files matched your search
@@ -73,6 +73,8 @@ namespace VocaluxeLib.Utils.Player
|
||||
if (IsPlaying)
|
||||
Stop();
|
||||
|
||||
Close();
|
||||
|
||||
_StreamID = CBase.Sound.Load(file, false, true);
|
||||
if (position > 0f)
|
||||
Position = position;
|
||||
|
||||
Reference in new issue
Block a user