Warning: Undefined array key "translationlc" in /usr/www/users/fabook/_diggets/doc/v2/lib/plugins/translation/action.php on line 237
Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/fabook/_diggets/doc/v2/lib/plugins/translation/action.php:237) in /usr/www/users/fabook/_diggets/doc/v2/inc/parser/code.php on line 33
Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/fabook/_diggets/doc/v2/lib/plugins/translation/action.php:237) in /usr/www/users/fabook/_diggets/doc/v2/inc/parser/code.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/fabook/_diggets/doc/v2/lib/plugins/translation/action.php:237) in /usr/www/users/fabook/_diggets/doc/v2/inc/parser/code.php on line 35
uses
Gorilla.Audio.FMOD,
Gorilla.Audio.FMOD.Sound,
Gorilla.Audio.FMOD.Channel;
procedure TForm1.FormShow(Sender: TObject);
var LSound : IGorillaFMODSound;
LChannel : IGorillaFMODChannel;
LClock, LPClock : UInt64;
begin
{...}
LChannel := FFMOD.PlaySound(LSound, nil, false, 0);
if Assigned(LChannel) then
begin
LChannel.GetDSPClock(LClock, LPClock);
LChannel.AddFadePoint(LPClock, 0.0);
LChannel.AddFadePoint(LPClock + 48000, 1.0);
end;
end;