reset playback position on stop (same behavior like in BASS)
This commit is contained in:
1 parent
5fb3280a81
commit
137e39cae3
2 files changed
+2
No files matched your search
@@ -568,6 +568,7 @@ namespace Vocaluxe.Lib.Sound
|
|||||||
public void Stop()
|
public void Stop()
|
||||||
{
|
{
|
||||||
AL.SourceStop(_source);
|
AL.SourceStop(_source);
|
||||||
|
Skip(0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool Loop
|
public bool Loop
|
||||||
|
|||||||
@@ -549,6 +549,7 @@ namespace Vocaluxe.Lib.Sound
|
|||||||
public void Stop()
|
public void Stop()
|
||||||
{
|
{
|
||||||
errorCheck("StartStream", PortAudio.Pa_StopStream(_Ptr));
|
errorCheck("StartStream", PortAudio.Pa_StopStream(_Ptr));
|
||||||
|
Skip(0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool Loop
|
public bool Loop
|
||||||
|
|||||||
Reference in new issue
Block a user