Changeset 348


Ignore:
Timestamp:
Apr 20, 2012, 2:12:06 PM (13 years ago)
Author:
chronos
Message:
  • Added: CoolAudio DSP device audiosystem skeleton.
Location:
CoolAudio
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • CoolAudio/CoolAudio.lpk

    r284 r348  
    33  <Package Version="4">
    44    <Name Value="CoolAudio"/>
     5    <Author Value="Chronos"/>
    56    <CompilerOptions>
    6       <Version Value="10"/>
     7      <Version Value="11"/>
    78      <SearchPaths>
    8         <OtherUnitFiles Value="fmodintf;Systems"/>
     9        <OtherUnitFiles Value="fmodintf;Systems;Systems/DSP"/>
    910        <UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
    1011      </SearchPaths>
    1112      <Linking>
    1213        <Debugging>
    13           <GenerateDebugInfo Value="True"/>
     14          <DebugInfoType Value="dsStabs"/>
    1415        </Debugging>
    1516      </Linking>
     
    1819      </Other>
    1920    </CompilerOptions>
    20     <Files Count="11">
     21    <Description Value="CoolAudio"/>
     22    <License Value="GNU/GPL"/>
     23    <Version Minor="1"/>
     24    <Files Count="13">
    2125      <Item1>
    2226        <Filename Value="fmodintf/fmod.pas"/>
     
    6367        <UnitName Value="UAudioSystem"/>
    6468      </Item11>
     69      <Item12>
     70        <Filename Value="Systems/UAudioSystemMAD.pas"/>
     71        <UnitName Value="UAudioSystemMAD"/>
     72      </Item12>
     73      <Item13>
     74        <Filename Value="Systems/DSP/UAudioSystemDSP.pas"/>
     75        <UnitName Value="UAudioSystemDSP"/>
     76      </Item13>
    6577    </Files>
    6678    <Type Value="RunAndDesignTime"/>
  • CoolAudio/CoolAudio.pas

    r284 r348  
    33 }
    44
    5 unit CoolAudio; 
     5unit CoolAudio;
    66
    77interface
     
    1010  fmod, fmoddyn, fmoderrors, fmodpresets, fmodtypes, UCoolAudio, UPlaylist,
    1111  UAudioSystemFMOD, UAudioSystemMPlayer, UAudioSystemWindows, UAudioSystem,
    12   LazarusPackageIntf;
     12  UAudioSystemMAD, UAudioSystemDSP, LazarusPackageIntf;
    1313
    1414implementation
    1515
    16 procedure Register; 
     16procedure Register;
    1717begin
    18 end; 
     18end;
    1919
    2020initialization
    21   RegisterPackage('CoolAudio', @Register); 
     21  RegisterPackage('CoolAudio', @Register);
    2222end.
  • CoolAudio/UCoolAudio.pas

    r347 r348  
    66  {$DEFINE AudioSystemWindows}
    77{$ENDIF}
    8 {$DEFINE AudioSystemMPlayer}
    9 {$DEFINE AudioSystemFMOD}
     8//{$DEFINE AudioSystemMPlayer}
     9//{$DEFINE AudioSystemFMOD}
     10//{$DEFINE AudioSystemDSP}
     11{$IFDEF Linux}
     12  //{$DEFINE AudioSystemMAD}
     13{$ENDIF}
    1014
    1115interface
     
    1317uses
    1418  Classes, SysUtils,
    15   {$IFDEF AudioSystemWindows}
    16   UAudioSystemWindows,
    17   {$ENDIF}
    18   {$IFDEF AudioSystemMPlayer}
    19   UAudioSystemMPlayer,
    20   {$ENDIF}
    21   {$IFDEF AudioSystemFMOD}
    22   UAudioSystemFMOD,
    23   {$ENDIF}
     19  {$IFDEF AudioSystemWindows}UAudioSystemWindows,{$ENDIF}
     20  {$IFDEF AudioSystemMPlayer}UAudioSystemMPlayer,{$ENDIF}
     21  {$IFDEF AudioSystemFMOD}UAudioSystemFMOD,{$ENDIF}
     22  {$IFDEF AudioSystemMAD}UAudioSystemMAD,{$ENDIF}
     23  {$IFDEF AudioSystemDSP}UAudioSystemDSP,{$ENDIF}
    2424  UAudioSystem;
    2525
     
    4141AudioSystemManager.Register('FMOD', TAudioSystemFMOD, TPlayerFMOD);
    4242{$ENDIF}
     43{$IFDEF AudioSystemMAD}
     44AudioSystemManager.Register('MAD', TAudioSystemMAD, TPlayerMAD);
     45{$ENDIF}
     46{$IFDEF AudioSystemDSP}
     47AudioSystemManager.Register('DSP', TAudioSystemDSP, TPlayerDSP);
     48{$ENDIF}
    4349
    4450finalization
Note: See TracChangeset for help on using the changeset viewer.