Fix missing song length and wrong volumes (int=0-100, float=0-1)
Also fade in preview music
This commit is contained in:
1 parent
b99f9467de
commit
4a78dd4b31
17 files changed
+65
-73
No files matched your search
@@ -133,14 +133,7 @@ namespace VocaluxeLib.Utils.Player
|
||||
Load(file, position, autoplay);
|
||||
}
|
||||
|
||||
public new void Play()
|
||||
{
|
||||
CBase.Sound.SetPosition(_StreamID, _StartPosition);
|
||||
CBase.Video.Skip(_Video, _StartPosition, _Song.VideoGap);
|
||||
TogglePause();
|
||||
}
|
||||
|
||||
public new void Stop()
|
||||
public override void Stop()
|
||||
{
|
||||
base.Stop();
|
||||
|
||||
@@ -150,7 +143,7 @@ namespace VocaluxeLib.Utils.Player
|
||||
CBase.Video.Close(ref _Video);
|
||||
}
|
||||
|
||||
public new void TogglePause()
|
||||
public override void TogglePause()
|
||||
{
|
||||
if (IsPlaying && _Video != null)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user