hedgewars/uSound.pas
changeset 611 8cf6d27cec86
parent 576 35a1af355ada
child 1066 1f1b3686a2b0
equal deleted inserted replaced
610:9b5a6200f667 611:8cf6d27cec86
    35 
    35 
    36 {$INCLUDE playlist.inc}
    36 {$INCLUDE playlist.inc}
    37 
    37 
    38 const chanTPU = 12;
    38 const chanTPU = 12;
    39 var Mus: PMixMusic = nil;
    39 var Mus: PMixMusic = nil;
       
    40     Volume: LongInt;
       
    41 {$IFDEF HAVE_MUSIC}
    40     CurrMusic: Longword = 0;
    42     CurrMusic: Longword = 0;
    41     Volume: LongInt;
    43 {$ENDIF}
    42 
    44 
    43 procedure InitSound;
    45 procedure InitSound;
    44 begin
    46 begin
    45 if not isSoundEnabled then exit;
    47 if not isSoundEnabled then exit;
    46 WriteToConsole('Init sound...');
    48 WriteToConsole('Init sound...');