Jump to content

TDDung

Members
  • Content Count

    11
  • Joined

  • Last visited

Posts posted by TDDung


  1. Hi,

     

    Based on published free header/wrapper units of BASS audio library plus add-ons on www.un4seen.com, I have improved, modified and added more codes to ensure they work with all platforms that Delphi's FireMonkey and VCL frameworks support. I also collected, intensively tested and structured the libraries into a package for Delphi programmers to use with a very detailed guide accompanied. Finally I also included a simple but sufficiently complete demo project.

     

    I have seen so many questions on BASS forums as well as other forums regarding audio for Delphi so I just thought I could share my work. That's all my intention.

     

    Here you go: https://github.com/TDDung/Delphi-BASS

    • Like 4
    • Thanks 1

  2. 1 hour ago, Lars Fosdal said:

    Another set of binaries... Am I the only one that is completely allergic to binaries from unknown sources?

    Agreed with you, therefore I did note that the binaries (.dll, .a, .o and .dylib) all can be downloaded directly from www.un4seen.com instead. There are just many of them, also of different versions, so I spent a lot of time to collect and test to be sure they are the newest and fully working. Depends on the programmers who need this, some may appreciate these binaries 🙂 The choices are theirs.


  3. 17 hours ago, Andrea Raimondi said:

    Why are you sharing this in that way? I don;'t understand the reasoning for it. 

    Sorry what do you mean? BASS is a wonderful closed source but free for non-commercial audio library (www.un4seen.com) written in C. To use it you have to include pre-compiled binaries (.dll, .a, .so and .dylib) into your project and use a wrapper/header to access the functions inside. Since there currently are 5 supported platforms by FireMonkey in Delphi (Windows, Mac, Android, iOS and Linux) with 32- or 64-bit CPU code (Intel/ARM also), my package is too big to attach to a post here, hence I must give it as a link only.

    Note: All the binaries of BASS audio library (libbass.dll, libbass.dll.so, libbass.dll.a and libbass.dll.dylib) can be downloaded directly from www.un4seen.com instead. There are just many of them, so just make sure you choose the correct ones to replace what's in my package and of course test, test and test.


  4. It's possible that sometimes CameraComponent's SampleBufferReady event is fired up while previous call to DisplayCameraPreviewFrame has not completed/returned (e.g. GUI updating is slower than camera's frame rate), thus imgCameraView.Bitmap is changed in the middle of its display. It's quite simple to test this hypothesis on your device with few extra lines of code. I did test on my Note 20 phone but it is way to fast ... 🙂

×