aboutsummaryrefslogtreecommitdiffstats
path: root/medley_new
diff options
context:
space:
mode:
authorbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-10-17 10:44:06 +0000
committerbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-10-17 10:44:06 +0000
commitb75e7399a7a3b7672d85f52013f916d06dd63651 (patch)
tree6a6adff0e587297e2370fd66dbb836e71a97b8e5 /medley_new
parent8e0f573b081c9ca3d0c435d23ef431529707916d (diff)
downloadusdx-b75e7399a7a3b7672d85f52013f916d06dd63651.tar.gz
usdx-b75e7399a7a3b7672d85f52013f916d06dd63651.tar.xz
usdx-b75e7399a7a3b7672d85f52013f916d06dd63651.zip
added applause sound
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2671 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'medley_new')
-rw-r--r--medley_new/game/sounds/Applause.mp3bin0 -> 59968 bytes
-rw-r--r--medley_new/src/base/UMusic.pas3
-rw-r--r--medley_new/src/screens/UScreenSing.pas2
3 files changed, 4 insertions, 1 deletions
diff --git a/medley_new/game/sounds/Applause.mp3 b/medley_new/game/sounds/Applause.mp3
new file mode 100644
index 00000000..d5eeb881
--- /dev/null
+++ b/medley_new/game/sounds/Applause.mp3
Binary files differ
diff --git a/medley_new/src/base/UMusic.pas b/medley_new/src/base/UMusic.pas
index c775fd51..0fa625ee 100644
--- a/medley_new/src/base/UMusic.pas
+++ b/medley_new/src/base/UMusic.pas
@@ -569,6 +569,7 @@ type
Change: TAudioPlaybackStream;
Option: TAudioPlaybackStream;
Click: TAudioPlaybackStream;
+ Applause:TAudioPlaybackStream;
BGMusic: TAudioPlaybackStream;
constructor Create();
@@ -938,6 +939,7 @@ begin
Change := AudioPlayback.OpenSound(SoundPath.Append('select music change music 50.mp3'));
Option := AudioPlayback.OpenSound(SoundPath.Append('option change col.mp3'));
Click := AudioPlayback.OpenSound(SoundPath.Append('rimshot022b.mp3'));
+ Applause:= AudioPlayback.OpenSound(SoundPath.Append('Applause.mp3'));
BGMusic := AudioPlayback.OpenSound(SoundPath.Append('background track.mp3'));
@@ -953,6 +955,7 @@ begin
FreeAndNil(Change);
FreeAndNil(Option);
FreeAndNil(Click);
+ FreeAndNil(Applause);
FreeAndNil(BGMusic);
end;
diff --git a/medley_new/src/screens/UScreenSing.pas b/medley_new/src/screens/UScreenSing.pas
index cea1b2c3..4998ed02 100644
--- a/medley_new/src/screens/UScreenSing.pas
+++ b/medley_new/src/screens/UScreenSing.pas
@@ -1425,7 +1425,7 @@ begin
begin
PlaylistMedley.ApplausePlayed:=true;
// TODO: add fade-out!
- //Music.PlayApplause;
+ AudioPlayback.PlaySound(SoundLib.Applause);
//Music.Fade(MP3Volume, 10, CurrentSong.Medley.FadeOut_time);
end;
end;