diff options
Diffstat (limited to 'src/media')
-rw-r--r-- | src/media/UAudioPlaybackBase.pas | 4 | ||||
-rw-r--r-- | src/media/UMedia_dummy.pas | 4 |
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; |