aboutsummaryrefslogtreecommitdiffstats
path: root/src/media
diff options
context:
space:
mode:
authors_alexander <s_alexander@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-12-20 20:35:40 +0000
committers_alexander <s_alexander@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-12-20 20:35:40 +0000
commit115be023b64d9de135a09ab2a63553856eef15d9 (patch)
tree4738fa1e0262c141e63f1d7f4c23290669159f3d /src/media
parent5d1e512e23f6506f270868f1509397674c2e4d5b (diff)
downloadusdx-115be023b64d9de135a09ab2a63553856eef15d9.tar.gz
usdx-115be023b64d9de135a09ab2a63553856eef15d9.tar.xz
usdx-115be023b64d9de135a09ab2a63553856eef15d9.zip
changed TSyncSource to interface ISyncSource
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2051 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/media')
-rw-r--r--src/media/UAudioPlaybackBase.pas4
-rw-r--r--src/media/UMedia_dummy.pas4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/media/UAudioPlaybackBase.pas b/src/media/UAudioPlaybackBase.pas
index de2d5563..228a438f 100644
--- a/src/media/UAudioPlaybackBase.pas
+++ b/src/media/UAudioPlaybackBase.pas
@@ -60,7 +60,7 @@ type
procedure Stop;
procedure FadeIn(Time: real; TargetVolume: single);
- procedure SetSyncSource(SyncSource: TSyncSource);
+ procedure SetSyncSource(SyncSource: ISyncSource);
procedure SetPosition(Time: real);
function GetPosition: real;
@@ -228,7 +228,7 @@ begin
MusicStream.Position := Time;
end;
-procedure TAudioPlaybackBase.SetSyncSource(SyncSource: TSyncSource);
+procedure TAudioPlaybackBase.SetSyncSource(SyncSource: ISyncSource);
begin
if assigned(MusicStream) then
MusicStream.SetSyncSource(SyncSource);
diff --git a/src/media/UMedia_dummy.pas b/src/media/UMedia_dummy.pas
index 25e94724..c38a8e60 100644
--- a/src/media/UMedia_dummy.pas
+++ b/src/media/UMedia_dummy.pas
@@ -62,7 +62,7 @@ type
procedure SetPosition(Time: real);
function GetPosition: real;
- procedure SetSyncSource(SyncSource: TSyncSource);
+ procedure SetSyncSource(SyncSource: ISyncSource);
procedure GetFrame(Time: Extended);
procedure DrawGL(Screen: integer);
@@ -156,7 +156,7 @@ begin
Result := 0;
end;
-procedure TMedia_dummy.SetSyncSource(SyncSource: TSyncSource);
+procedure TMedia_dummy.SetSyncSource(SyncSource: ISyncSource);
begin
end;