1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Donation with Paypal!!!

    Go to your paypal account and send directly donation to [email protected]

    1 month - 10 $ - Standart VIP

    6 months - 20 $- Standart VIP

    1 year - 30 $- Standart VIP

    2 years - 50 $- Standart VIP

    Gold member for life - 150 $- Standart VIP

    High Vip (Standart VIP include) group please send PM or email to [email protected] for info

    After Donation please send email to [email protected]

  3. Donation Ways 2020


    Paysend
  4. Telegram

  5. Delphifan Magazine
Dismiss Notice

Donation with Paypal!!!

Go to your paypal account and send directly donation to [email protected]

1 month - 10 $ - Standart VIP

6 months - 20 $- Standart VIP

1 year - 30 $- Standart VIP

2 years - 50 $- Standart VIP

Gold member for life - 150 $- Standart VIP

High Vip (Standart VIP include) group please send PM or email to [email protected] for info

After Donation please send email to [email protected]

Dismiss Notice
For open hidden message no need write thanks, thank etc. Enough is click to like button on right side of thread.

VCL Component About FMX Audio BASS Lib for Win and Android

Discussion in 'Delphi Components,Freeware, Open Source' started by AdminDF, Oct 16, 2020.

  1. AdminDF
    Online

    AdminDFAdminDF is a Verified Member Delphifan Staff Member DF Staff

    Initialization

    if not FMXPlayer.Init(Handle) then
    begin
    ShowMessage('Error ' + FMXPlayer.LastErrorCode.ToString);
    end;
    Sync
    Play stream

    FMXPlayer.StreamURL := StreamUrl;
    FMXPlayer.Play;
    Play file

    FMXPlayer.FileName := FileName;
    FMXPlayer.Play;
    Async
    Play stream async

    FMXPlayer.StreamURL := StreamUrl;
    TThread.CreateAnonymousThread(
    procedure
    begin
    FMXPlayer.Play;
    end).Start;
    Play file async

    FMXPlayer.FileName := FileName;
    TThread.CreateAnonymousThread(
    procedure
    begin
    FMXPlayer.Play;
    end).Start;
    You can use the library to play sounds. And to prevent sounds from breaking off with new sounds, you must set the flag KeepPlayChannel = True;

    Windows
    1. Download bass24.zip from http://www.un4seen.com (direct link http://uk.un4seen.com/files/bass24.zip ).
    2. Extract the archive somewhere, copy extracted bass.dll to your project output directory.

    Android
    Project -> Deployment -> Add Files

    1 : Library->Android->armeabi
    a : libbass.so
    b : libbass_aac.so
    c : libbassflac.so
    Remote Path : library\lib\armeabi\

    2 : Library->Android->x86
    a : libbass.so
    b : libbass_aac.so
    c : libbassflac.so
    Remote Path : library\lib\x86\

    3 : Library->Android->armeabi-v7a
    a : libbass.so
    b : libbass_aac.so
    c : libbassflac.so
    Remote Path : library\lib\armeabi-v7a\

    Make sure library files remote path name, must be added in the Deployment window.

    Hidden Content:
    **Hidden Content: You must click 'Like' before you can see the hidden data contained here.**
     
    arty, XGate, chris and 2 others like this.

Share This Page