Author Topic: BASS.NET API 2.4.13.0  (Read 787533 times)

aybe

  • Posts: 145
Re: BASS.NET API 2.4.12.7
« Reply #1475 on: 7 Dec '17 - 17:50 »
You are right, I've just tried on a blank project and it works as expected !

Sorry  ;D

radio42

  • Posts: 4588
Re: BASS.NET API 2.4.13.0
« Reply #1476 on: 12 Jan '18 - 09:05 »
11.01.2018: Version 2.4.13.0 is out!

Note:
    - BASS: added support for v2.4.13.2
    - BASSWASAPI: added support for v2.4.2.0
    - BASSHLS: added support for 2.4.0.0
    - Bass.Net.WinStore: all references to add-ons removed which can use the plug-in system

Full Install:
 www.un4seen.com/filez/4/Bass24.Net.zip

Lib only:
 www.un4seen.com/filez/4/Bass24.Net_update.zip

f3flight

  • Guest
Re: BASS.NET API 2.4.13.0
« Reply #1477 on: 12 Jan '18 - 22:39 »
Hi all,

I'm trying to use Bass.Net with Unity, and I faced an issue where using StreamGetEvents does not work well - it either crashes Unity (if I use [in] [out] variant and pass a preallocated array, as in the example), or returns Null, if I use "public static BASS_MIDI_EVENT[] BASS_MIDI_StreamGetEvents (int handle, int track, BASSMIDIEvent filter);" variant.

Please let me know if this is a known issue or not, or if I'm doing something wrong. Basically this example fails for me http://www.bass.radio42.com/help/html/94879703-e46c-1f8b-d191-c536580e1412.htm if there are 2305 events. I'm using this sample midi file - https://www.8notes.com/school/midi/piano/moonlight_sonata.mid

If there's 1 event ( in track 0) then it works ok, but when I'm trying to get data from track 1 (2305 events), it crashes or returns Null.

f3flight

  • Guest
Re: BASS.NET API 2.4.13.0
« Reply #1478 on: 12 Jan '18 - 22:46 »
I'm using Unity on Linux x64, and using Bass.Net.dll from "v2.0" folder because Unity says it targets Net 3.5 (for whatever reason) and this works since Unity's Editor can only handle up to NET 3.5 as of now.
I tried using Bass.Net.Linux but then I get "failed to load libbassmidi.so - undefined symbol BASS_GetVersion"...

loom

  • Posts: 10
Re: BASS.NET API 2.4.13.0
« Reply #1479 on: 19 Feb '18 - 03:05 »
Hi,

I'm in the middle of some tests using Bass.Net on Unity.
I've managed to get Unity worked well with Bass.Net on Windows, OSX, and Android.
When I tried iOS however, it didn't go as expected(I bet there's nothing to do with Bass.Net regarding this).

What I just want to clarify is...
as far as I know, Unity can't use Mono to build for arm64 iOS(due to arm64 AOT engine licensing issue).
Instead, they suggest 'IL2CPP', their own scripting backend does arm64 AOT cross compile for iOS on Unity.
If that's true, it means I can't use "Bass.Net for Xamarin.iOS (Bass.Net.iOS.dll)" for iOS on Unity because iOS 11 doesn't support 32-bit-only apps anymore.
I should bridge Unity & native Bass libraries(.a) by myself to use Bass library & Add-ons for iOS on Unity.

Am I understanding right? Thanks in advance.
« Last Edit: 19 Feb '18 - 06:22 by loom »

radio42

  • Posts: 4588
Re: BASS.NET API 2.4.13.0
« Reply #1480 on: 19 Feb '18 - 08:51 »
I am not really sure, what your limit is regarding Bass.Net.iOS - as this is also build with the 'Any CPU' target - so not sure, why you can only build 32-bit apps with it?
But I am not a iOS/Unity user myself.

loom

  • Posts: 10
Re: BASS.NET API 2.4.13.0
« Reply #1481 on: 20 Feb '18 - 08:19 »
I am not really sure, what your limit is regarding Bass.Net.iOS - as this is also build with the 'Any CPU' target - so not sure, why you can only build 32-bit apps with it?
But I am not a iOS/Unity user myself.

Yes indeed. We know Bass.Net.iOS can build for 'Any CPU' target. Sorry for not giving you more details.
The thing is, to build arm64, which is currently the only 64bit iOS device architecture every iOS apps must include in their target since iOS 11, Unity iOS developers have only two options for the api compatibility level, .NET 4.6(marked as 'experimental' yet) and .NET 3.5(Stable, commonly used for now). I had to switch to .NET 4.6 to avoid build error because current Bass.Net.iOS.Dll targets .NET 4.x. I'm not sure when would the 'experimental' .NET 4.6 on Unity be widely accepted to be okay-to-use for 'real' product.

Would it be possible for us to take advantage of Bass.Net.iOS under .NET 3.5?
Thanks in advance.
« Last Edit: 20 Feb '18 - 08:32 by loom »

radio42

  • Posts: 4588
Re: BASS.NET API 2.4.13.0
« Reply #1482 on: 20 Feb '18 - 11:47 »
No, currently only a .Net 4.x build does exist and I really want to avoid building versions for all combinations.
A bit stange though, that Unity still doesn't support .Net v4!
.Net v4 was release in 2010! and v4.5 in 2012 - that is 8 resp. 6 years ago...
« Last Edit: 21 Feb '18 - 07:13 by radio42 »

loom

  • Posts: 10
Re: BASS.NET API 2.4.13.0
« Reply #1483 on: 21 Feb '18 - 01:27 »
Totally agreed. Thanks for letting me know your thought regarding .Net versions.