aboutsummaryrefslogtreecommitdiffstats
path: root/medley_new/src/screens
diff options
context:
space:
mode:
authorbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-10-17 11:35:26 +0000
committerbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-10-17 11:35:26 +0000
commit6857c4c06206f80aee1855951b916a6526c87fc7 (patch)
tree24dc6438ab5c1c470a16ff85c4fa60aa70275865 /medley_new/src/screens
parentb75e7399a7a3b7672d85f52013f916d06dd63651 (diff)
downloadusdx-6857c4c06206f80aee1855951b916a6526c87fc7.tar.gz
usdx-6857c4c06206f80aee1855951b916a6526c87fc7.tar.xz
usdx-6857c4c06206f80aee1855951b916a6526c87fc7.zip
added general fading (for fade-out)
it must be tested on MacOS and Linux. a more general fading function would be better (with "fade to pause" and "fade to end"). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2672 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'medley_new/src/screens')
-rw-r--r--medley_new/src/screens/UScreenSing.pas3
1 files changed, 1 insertions, 2 deletions
diff --git a/medley_new/src/screens/UScreenSing.pas b/medley_new/src/screens/UScreenSing.pas
index 4998ed02..6cadaf16 100644
--- a/medley_new/src/screens/UScreenSing.pas
+++ b/medley_new/src/screens/UScreenSing.pas
@@ -1424,9 +1424,8 @@ begin
(PlaylistMedley.CurrentMedleySong<=PlaylistMedley.NumMedleySongs) then
begin
PlaylistMedley.ApplausePlayed:=true;
- // TODO: add fade-out!
+ AudioPlayback.Fade(CurrentSong.Medley.FadeOut_time, 0.1);
AudioPlayback.PlaySound(SoundLib.Applause);
- //Music.Fade(MP3Volume, 10, CurrentSong.Medley.FadeOut_time);
end;
end;