B4J Library Bass for Windows B4J - Help

Atached all code (Test lib and library)

Compiled using jSimple Library Compiler 1.03

Example code to load bass.dll in folder Objects
B4X:
Sub Process_Globals
    Private fx As JFX
    Private MainForm As Form   
    Dim LibBass As bass
       
End Sub

Sub AppStart (Form1 As Form, Args() As String)
    MainForm = Form1
    MainForm.SetFormStyle("UNIFIED")
    'MainForm.RootPane.LoadLayout("Layout1") 'Load the layout file.
       
    'Is OK
    'Bass Version
    Log(LibBass.BASSVERSION)
   
    'Is OK
    'Bass Version in Text
    Log(LibBass.BASSVERSIONTEXT)
   
    'Error HERE
    'Initialize bass sound
    LibBass.BASS_Init(-1,44100,0)
    'java.lang.UnsatisfiedLinkError: com.un4seen.bass.BASS.BASS_Init(III)Z   
   
    MainForm.Show
   
   
End Sub
 

Attachments

  • CompleteCodes.zip
    121.9 KB · Views: 674
Last edited:

Douglas Farias

Expert
Licensed User
Longtime User
can u explain, for what we can use this lib.
can you give a example where use and in what case pls?
 
Top