aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Code')
-rw-r--r--Game/Code/Classes/UMedia_dummy.pas16
1 files changed, 4 insertions, 12 deletions
diff --git a/Game/Code/Classes/UMedia_dummy.pas b/Game/Code/Classes/UMedia_dummy.pas
index 0c788677..42a3f1b9 100644
--- a/Game/Code/Classes/UMedia_dummy.pas
+++ b/Game/Code/Classes/UMedia_dummy.pas
@@ -261,19 +261,11 @@ end;
initialization
singleton_dummy := Tmedia_dummy.create();
- writeln( 'UMedia_dummy - Register dummy Video_Playback' );
- AudioManager.add( IVideoPlayback( singleton_dummy ) );
+ writeln( 'UMedia_dummy - Register' );
+ AudioManager.add( singleton_dummy );
- writeln( 'UMedia_dummy - Register dummy Video_Playback' );
- AudioManager.add( IAudioPlayback( singleton_dummy ) );
-
- writeln( 'UMedia_dummy - Register dummy Video_Playback' );
- AudioManager.add( IAudioInput( singleton_dummy ) );
-
finalization
- AudioManager.Remove( IVideoPlayback( singleton_dummy ) );
- AudioManager.Remove( IAudioPlayback( singleton_dummy ) );
- AudioManager.Remove( IAudioInput( singleton_dummy ) );
-
+ writeln( 'UMedia_dummy - UnRegister' );
+ AudioManager.Remove( singleton_dummy );
end.