fixed fading bug
This commit is contained in:
1 parent
56bde936b9
commit
38a7a2208e
1 file changed
+2
-2
@@ -220,14 +220,14 @@ void GstreamerAudioStream::FadeAndPause(float TargetVolume, float Seconds)
|
||||
{
|
||||
PauseStreamAfterFade = true;
|
||||
|
||||
Fade(TargetVolume, FadeTime);
|
||||
Fade(TargetVolume, Seconds);
|
||||
}
|
||||
|
||||
void GstreamerAudioStream::FadeAndStop(float TargetVolume, float Seconds)
|
||||
{
|
||||
CloseStreamAfterFade = true;
|
||||
|
||||
Fade(TargetVolume, FadeTime);
|
||||
Fade(TargetVolume, Seconds);
|
||||
}
|
||||
|
||||
bool GstreamerAudioStream::IsPlaying()
|
||||
|
||||
Reference in new issue
Block a user