diff options
author | jaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-10-11 12:12:37 +0000 |
---|---|---|
committer | jaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-10-11 12:12:37 +0000 |
commit | 6292440f6da3c11e85bb9fc3a741a26540e429be (patch) | |
tree | af1e107a762a1f61e3b100d956d8a5cab108d4d7 /Game/Code/Screens | |
parent | 44554c7908f7e2405a249331f00a35703f5939c2 (diff) | |
download | usdx-6292440f6da3c11e85bb9fc3a741a26540e429be.tar.gz usdx-6292440f6da3c11e85bb9fc3a741a26540e429be.tar.xz usdx-6292440f6da3c11e85bb9fc3a741a26540e429be.zip |
separated IAudioPlayback in to separate "Playback" and "Input" Interfaces
( both interfaces provided by same TMusic_Bass class...
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@505 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Screens')
-rw-r--r-- | Game/Code/Screens/UScreenCredits.pas | 2 | ||||
-rw-r--r-- | Game/Code/Screens/UScreenSing.pas | 4 | ||||
-rw-r--r-- | Game/Code/Screens/UScreenSingModi.pas | 2 | ||||
-rw-r--r-- | Game/Code/Screens/UScreenSong.pas | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/Game/Code/Screens/UScreenCredits.pas b/Game/Code/Screens/UScreenCredits.pas index b7d6d3e7..a24997d4 100644 --- a/Game/Code/Screens/UScreenCredits.pas +++ b/Game/Code/Screens/UScreenCredits.pas @@ -445,7 +445,7 @@ const myLogoCoords: Array[0..27,0..1] of Cardinal = ((39,32),(84,32),(100,16),( begin //dis does teh muiwk y0r - Data := AudioPlayback.GetFFTData; + Data := AudioInput.GetFFTData; Log.LogStatus('',' JB-1'); diff --git a/Game/Code/Screens/UScreenSing.pas b/Game/Code/Screens/UScreenSing.pas index e0c80297..abb2726e 100644 --- a/Game/Code/Screens/UScreenSing.pas +++ b/Game/Code/Screens/UScreenSing.pas @@ -451,7 +451,7 @@ begin // play music (I) - AudioPlayback.CaptureStart; + AudioInput.CaptureStart; AudioPlayback.MoveTo(AktSong.Start); // Music.Play; @@ -1201,7 +1201,7 @@ end; procedure TScreenSing.Finish; begin - AudioPlayback.CaptureStop; + AudioInput.CaptureStop; AudioPlayback.Stop; if Ini.SavePlayback = 1 then begin diff --git a/Game/Code/Screens/UScreenSingModi.pas b/Game/Code/Screens/UScreenSingModi.pas index a05c6d4b..b6989c76 100644 --- a/Game/Code/Screens/UScreenSingModi.pas +++ b/Game/Code/Screens/UScreenSingModi.pas @@ -170,7 +170,7 @@ begin end
else //Start Without Song
begin
- AudioPlayback.CaptureStart;
+ AudioInput.CaptureStart;
end;
//Set Playerinfo
diff --git a/Game/Code/Screens/UScreenSong.pas b/Game/Code/Screens/UScreenSong.pas index df4ec87a..ea1dd8a5 100644 --- a/Game/Code/Screens/UScreenSong.pas +++ b/Game/Code/Screens/UScreenSong.pas @@ -1725,7 +1725,7 @@ begin if (A <> EqualizerTime) then begin EqualizerTime := A; - Data := AudioPlayback.GetFFTData; + Data := AudioInput.GetFFTData; B:=0; Pos := 0; |