19 May '13 - 00:54 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: Delphi Xe2 Firemonkey --> iOS  (Read 473 times)
Leniad
Guest
« on: 25 Jul '12 - 12:55 »
Reply with quoteQuote

I'm trying to make a Delphi XE2 Firemonkey application work with BASS.
Compiling and running in windows it's so easy and works fine, but when I export and use Xcode don't work.
I make some test, and the reason I find it's the 'libbass.a' isn't loaded, but it's added to the project.
I hope this help to people like me are starting with Delphi/Xcode.
Here is my code:
libName := {$IFDEF WIN32}ExtractFilePath(paramstr(0))+'bass.dll'{$ELSE}ExtractFilePath(paramstr(0))+'libbass.a'{$ENDIF};
libLoaded := Load_BASSDLL(libName);
if libLoaded then begin
    libInit := BASS_Init( -1, 44100, 0, Handle, nil);
    wav_name:=ExtractFilePath(paramstr(0))+'Tick.wav';
    snd_Tick:= BASS_StreamCreateFile(False, PChar(wav_name), 0, 0, BASS_SPEAKER_FRONT {$IFDEF UNICODE} or   BASS_UNICODE {$ENDIF});
    BASS_ChannelPlay(snd_Tick, False);
end else libInit:=false;
As you cas see I try to load the library and then play a simple Wav. Where I'm wrong?

Thanks in advance!

Leniad
Logged
Dukat
Posts: 9


« Reply #1 on: 27 Jul '12 - 16:19 »
Reply with quoteQuote

Whould indeed be very nice if someone came up with a BASS + Firemonkey solution..

My guess is that sooner or later (probably later  Grin) a new version of BASS arises including firemonkey examples.

Meanwhile, any help on this matter is apreciated

Dukat.
Logged
fellz
Posts: 25


« Reply #2 on: 14 Sep '12 - 11:38 »
Reply with quoteQuote

any progress on this? i'm looking for working firemonkey examples as well...
thanks!
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines