Changeset 353 for CoolAudio/UCoolAudio.pas
- Timestamp:
- Apr 23, 2012, 2:57:12 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CoolAudio/UCoolAudio.pas
r352 r353 18 18 AudioSystemManager: TAudioSystemManager; 19 19 20 procedure Register; 21 22 20 23 implementation 24 25 uses 26 UPlayList; 27 28 procedure Register; 29 begin 30 RegisterComponents('CoolAudio', [TMediaPlayer, TPlayList]); 31 end; 21 32 22 33 initialization 23 34 24 35 AudioSystemManager := TAudioSystemManager.Create(nil); 25 {$IFDEF AudioSystemWindows}AudioSystemManager.Register('Windows', TAudioSystemWindows , TPlayerWindows);{$ENDIF}26 {$IFDEF AudioSystemMPlayer}AudioSystemManager.Register('MPlayer', TAudioSystemMPlayer , TPlayerMPlayer);{$ENDIF}27 {$IFDEF AudioSystemFMOD}AudioSystemManager.Register('FMOD', TAudioSystemFMOD , TPlayerFMOD);{$ENDIF}28 {$IFDEF AudioSystemMAD}AudioSystemManager.Register('MAD', TAudioSystemMAD , TPlayerMAD);{$ENDIF}29 {$IFDEF AudioSystemDSP}AudioSystemManager.Register('DSP', TAudioSystemDSP , TPlayerDSP);{$ENDIF}36 {$IFDEF AudioSystemWindows}AudioSystemManager.Register('Windows', TAudioSystemWindows);{$ENDIF} 37 {$IFDEF AudioSystemMPlayer}AudioSystemManager.Register('MPlayer', TAudioSystemMPlayer);{$ENDIF} 38 {$IFDEF AudioSystemFMOD}AudioSystemManager.Register('FMOD', TAudioSystemFMOD);{$ENDIF} 39 {$IFDEF AudioSystemMAD}AudioSystemManager.Register('MAD', TAudioSystemMAD);{$ENDIF} 40 {$IFDEF AudioSystemDSP}AudioSystemManager.Register('DSP', TAudioSystemDSP);{$ENDIF} 30 41 31 42 finalization
Note:
See TracChangeset
for help on using the changeset viewer.