hedgewars/uSound.pas
changeset 2257 7eb31efcfb9b
parent 2234 17f7a5882aca
child 2258 3dd028604cfd
equal deleted inserted replaced
2256:30797f3a4321 2257:7eb31efcfb9b
    57 function  AskForVoicepack(name: shortstring): Pointer;
    57 function  AskForVoicepack(name: shortstring): Pointer;
    58 
    58 
    59 {*remember: LongInt = 32bit; integer = 16bit; byte = 8bit*}
    59 {*remember: LongInt = 32bit; integer = 16bit; byte = 8bit*}
    60 function openal_init		(memsize: LongInt)			: boolean; cdecl; external OpenALBridge;
    60 function openal_init		(memsize: LongInt)			: boolean; cdecl; external OpenALBridge;
    61 function openal_close							: boolean; cdecl; external OpenALBridge;
    61 function openal_close							: boolean; cdecl; external OpenALBridge;
    62 function openal_loadfile	(filename: PChar)			: LongInt; cdecl; external OpenALBridge;
    62 function openal_loadfile	(const filename: PChar)			: LongInt; cdecl; external OpenALBridge;
    63 function openal_toggleloop	(index: LongInt)			: boolean; cdecl; external OpenALBridge;
    63 function openal_toggleloop	(index: LongInt)			: boolean; cdecl; external OpenALBridge;
    64 function openal_setvolume	(index: LongInt; percentage: byte)	: boolean; cdecl; external OpenALBridge;
    64 function openal_setvolume	(index: LongInt; percentage: byte)	: boolean; cdecl; external OpenALBridge;
    65 function openal_setglobalvolume	(percentage: byte)			: boolean; cdecl; external OpenALBridge;
    65 function openal_setglobalvolume	(percentage: byte)			: boolean; cdecl; external OpenALBridge;
    66 function openal_fadeout		(index: LongInt; quantity: integer)	: boolean; cdecl; external OpenALBridge;
    66 function openal_fadeout		(index: LongInt; quantity: integer)	: boolean; cdecl; external OpenALBridge;
    67 function openal_fadein		(index: LongInt; quantity: integer)	: boolean; cdecl; external OpenALBridge;
    67 function openal_fadein		(index: LongInt; quantity: integer)	: boolean; cdecl; external OpenALBridge;