aboutsummaryrefslogtreecommitdiffstats
path: root/Game
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Game/Code/Screens/UScreenEditSub.pas6
-rw-r--r--Game/Code/Screens/UScreenSing.pas8
-rw-r--r--Game/Code/Screens/UScreenSong.pas4
3 files changed, 9 insertions, 9 deletions
diff --git a/Game/Code/Screens/UScreenEditSub.pas b/Game/Code/Screens/UScreenEditSub.pas
index 6dcb1f5f..725dd4e9 100644
--- a/Game/Code/Screens/UScreenEditSub.pas
+++ b/Game/Code/Screens/UScreenEditSub.pas
@@ -322,7 +322,7 @@ begin
AudioPlayback.Stop;
R := GetTimeFromBeat(Czesci[0].Czesc[Czesci[0].Akt].StartNote);
if R <= AudioPlayback.Length then begin
- AudioPlayback.MoveTo(R);
+ AudioPlayback.Position := R;
PlayStopTime := GetTimeFromBeat(Czesci[0].Czesc[Czesci[0].Akt].Koniec);
PlaySentence := true;
AudioPlayback.Play;
@@ -349,7 +349,7 @@ begin
PlaySentence := true;
Click := true;
AudioPlayback.Stop;
- AudioPlayback.MoveTo(GetTimeFromBeat(Czesci[0].Czesc[Czesci[0].Akt].StartNote)+0{-0.10});
+ AudioPlayback.Position := GetTimeFromBeat(Czesci[0].Czesc[Czesci[0].Akt].StartNote)+0{-0.10};
PlayStopTime := GetTimeFromBeat(Czesci[0].Czesc[Czesci[0].Akt].Koniec)+0;
AudioPlayback.Play;
LastClick := -100;
@@ -363,7 +363,7 @@ begin
PlaySentence := true;
Click := false;
AudioPlayback.Stop;
- AudioPlayback.MoveTo(GetTimeFromBeat(Czesci[0].Czesc[Czesci[0].Akt].Nuta[AktNuta].Start));
+ AudioPlayback.Position := GetTimeFromBeat(Czesci[0].Czesc[Czesci[0].Akt].Nuta[AktNuta].Start);
PlayStopTime := (GetTimeFromBeat(
Czesci[0].Czesc[Czesci[0].Akt].Nuta[AktNuta].Start +
Czesci[0].Czesc[Czesci[0].Akt].Nuta[AktNuta].Dlugosc));
diff --git a/Game/Code/Screens/UScreenSing.pas b/Game/Code/Screens/UScreenSing.pas
index 309af301..5a9ecae7 100644
--- a/Game/Code/Screens/UScreenSing.pas
+++ b/Game/Code/Screens/UScreenSing.pas
@@ -171,7 +171,7 @@ begin
SDLK_TAB: //Change Visualization Preset
begin
if fShowVisualization then
- fCurrentVideoPlaybackEngine.MoveTo( now ); // move to a random position
+ fCurrentVideoPlaybackEngine.Position := now; // move to a random position
end;
SDLK_RETURN:
@@ -213,7 +213,7 @@ begin
Czas.Teraz := PauseTime; //Position of Notes
// Position of Music
- AudioPlayback.MoveTo (PauseTime);
+ AudioPlayback.Position := PauseTime;
// Play Music
AudioPlayback.Play;
@@ -478,7 +478,7 @@ begin
// play music (I)
AudioInput.CaptureStart;
- AudioPlayback.MoveTo(AktSong.Start);
+ AudioPlayback.Position := AktSong.Start;
// Music.Play;
// prepare timer (I)
@@ -1344,7 +1344,7 @@ begin
// if we are shoing a visualization... change to a new preset after each sentence..
// Maybe we should make this less often or something... just a
if fShowVisualization then
- fCurrentVideoPlaybackEngine.MoveTo( now ); // move to a random position
+ fCurrentVideoPlaybackEngine.Position := now; // move to a random position
end;
//Called on Sentence Change S= New Current Sentence
diff --git a/Game/Code/Screens/UScreenSong.pas b/Game/Code/Screens/UScreenSong.pas
index 03ef793b..4f90e2ca 100644
--- a/Game/Code/Screens/UScreenSong.pas
+++ b/Game/Code/Screens/UScreenSong.pas
@@ -1524,7 +1524,7 @@ begin
begin
AudioPlayback.SetLoop(false);
AudioPlayback.Open(CatSongs.Song[Interaction].Path + CatSongs.Song[Interaction].Mp3);
- AudioPlayback.MoveTo(AudioPlayback.Length / 4);
+ AudioPlayback.Position := AudioPlayback.Length / 4;
AudioPlayback.Play;
//Set Preview Volume
@@ -1768,7 +1768,7 @@ begin
begin
AudioPlayback.Close;
if AudioPlayback.Open(CatSongs.Song[Interaction].Path + CatSongs.Song[Interaction].Mp3) then begin
- AudioPlayback.MoveTo(AudioPlayback.Length / 4);
+ AudioPlayback.Position := AudioPlayback.Length / 4;
//If Song Fading is activated then don't Play directly, and Set Volume to Null, else Play normal
if (Ini.PreviewFading = 0) then
AudioPlayback.Play