Author Topic: BASS.NET API 2.4.12.7  (Read 783384 times)

radio42

  • Posts: 4576
Re: BASS.NET API 2.4.8.4
« Reply #1050 on: 6 Feb '12 - 11:44 »
Seems, that the version number of BASS_DSHOW has changed unexpectedly - I don't know, looks like he has changed the internal version number from 2.4.x to something else - please ask Ionut what version number he is now reporting for .
I am sorry for that confusion, but it seems, that IOnut is constantly changing his API without taking care about backward compatibility!

To work around this issue, you might set the "BassNet.OmitVersionCheck" property to FALSE - prior to using BASS_DSHOW.

Ionut Cristea

  • Posts: 1545
Re: BASS.NET API 2.4.8.4
« Reply #1051 on: 6 Feb '12 - 11:46 »
The internal version is 1.2.2 on the latest BASS_DSHOW

gyrosp

  • Posts: 31
Re: BASS.NET API 2.4.8.4
« Reply #1052 on: 6 Feb '12 - 12:47 »
Seems, that the version number of BASS_DSHOW has changed unexpectedly - I don't know, looks like he has changed the internal version number from 2.4.x to something else - please ask Ionut what version number he is now reporting for .
I am sorry for that confusion, but it seems, that IOnut is constantly changing his API without taking care about backward compatibility!

To work around this issue, you might set the "BassNet.OmitVersionCheck" property to FALSE - prior to using BASS_DSHOW.

I get the same error when I set OmitVersionCheck = false:
Code: [Select]
            Un4seen.Bass.BassNet.OmitCheckVersion = false;
            Un4seen.Bass.AddOn.DShow.BassDShow.BASS_DSHOW_Init(visualizer.GetVideoHandle(), BASSDSHOWInit.BASS_DSHOW_Default);


radio42

  • Posts: 4576
Re: BASS.NET API 2.4.8.4
« Reply #1053 on: 6 Feb '12 - 13:08 »
Sorry, you of course need to set BassNet.OmitCheckVersion to TRUE (omit = bypass).

gyrosp

  • Posts: 31
Re: BASS.NET API 2.4.8.4
« Reply #1054 on: 6 Feb '12 - 13:19 »
Sorry, you of course need to set BassNet.OmitCheckVersion to TRUE (omit = bypass).

Oh, this make sense ;).

With OmitCheckVersion = True the error is gone but only to reveal the next error :(:

Code: [Select]
Error
Unregistered version of BASS_DSHOW

Why does this have to be so complicated ;)? I thought Bass_DShow is free for none comercial use.

Ionut Cristea

  • Posts: 1545
Re: BASS.NET API 2.4.8.4
« Reply #1055 on: 6 Feb '12 - 14:06 »
 Just to keep track of those who use BASS_DSHOW :)

gyrosp

  • Posts: 31
Re: BASS.NET API 2.4.8.4
« Reply #1056 on: 6 Feb '12 - 14:31 »
Just to keep track of those who use BASS_DSHOW :)

Mhh, this sucks but I have to live with it ;). Perhaps I'll spent the money for the shareware-license if I am happy with the results ;).

Finally I got it to work but when I move my video-Form from my left monitor to the right monitor while playing a video the app crashes. Is this a known issue?

Ionut Cristea

  • Posts: 1545
Re: BASS.NET API 2.4.8.4
« Reply #1057 on: 6 Feb '12 - 15:00 »
   Yep. In the new version i will add a method to set the monitor so that will not crash :)

BulleTTime

  • Guest
Re: BASS.NET API 2.4.8.4
« Reply #1058 on: 19 Feb '12 - 20:26 »
I cant use any other classes than Bass for .Net 2.0. When i want to register using BassNet.Registration, i this error:

Code: [Select]
Internal compiler error. See the console log for more information. output was:warning CS1685: The predefined type `System.Runtime.CompilerServices.ExtensionAttribute' is ambiguous. Using definition from `System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e

This is logic as this tells me what its not .Net 2.0:


http://msdn.microsoft.com/en-us/library/system.runtime.compilerservices.extensionattribute.aspx

Any idea how i can register the .Net wrapper for 2.0?

Thanks

radio42

  • Posts: 4576
Re: BASS.NET API 2.4.8.4
« Reply #1059 on: 20 Feb '12 - 09:14 »
What target framework are you using for your application?
If your application is targeting the .Net framework v2.0, v3.0 or v3.5 make sure to reference the BASS.NET version for the v2.0 framework.
If your application is targeting the .Net framework v4.0 make sure to reference the BASS.NET version for the v4.0 framework.

However, this is just a compiler warning (not an error).
The predefined type (in this case the "System.Runtime.CompilerServices.ExtensionAttribute") is defined in multiple assemblies in the global alias.
This error occurs when a predefined system type is found in two assemblies.
One way this can happen is if you are referencing mscorlib from two different places, such as trying to run the .Net Framework versions 2.0 and e.g. 3.5 or 4.0 side-by-side, e.g. because multiple libraries or your main application are targeting/using different .Net framework versions.
The compiler will use the definition from only one of the assemblies.

As such the warning is just telling you from which one it is actually used.

BulleTTime

  • Guest
Re: BASS.NET API 2.4.8.4
« Reply #1060 on: 20 Feb '12 - 12:21 »
Though its a warning, im not able to compile. Would there be any way to use BassNet and the other classes without getting a compile error?

Thanks

radio42

  • Posts: 4576
Re: BASS.NET API 2.4.8.4
« Reply #1061 on: 20 Feb '12 - 14:28 »
See your other post (no duplicates please)...

PrzemCio

  • Guest
Re: BASS.NET API 2.4.8.4
« Reply #1062 on: 26 Feb '12 - 18:33 »
Hello everybody,

I have installed Bass.NET 3 times and still there is no Samples folder... wtf?
There is everything else...

gnag

  • Posts: 160
Re: BASS.NET API 2.4.8.4
« Reply #1063 on: 26 Feb '12 - 19:27 »
On Windows 7 it should be in "C:\Users\%username%\AppData\Roaming\BASS.NET\Samples\", did you check that Folder?

radio42

  • Posts: 4576
Re: BASS.NET API 2.4.8.4
« Reply #1064 on: 9 Mar '12 - 17:11 »
09.03.2012: Version 2.4.8.5 is out!

BASS: added support for v2.4.8.13
BASSenc: added support for v2.4.9.0

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

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


smoodilo

  • Guest
WaveForm.MARKERDRAWTYPE.Line
« Reply #1065 on: 21 Mar '12 - 11:04 »
I am trying to add some markers with WaveForm.MARKERDRAWTYPE.Line.

Is it correct that the vertical line is only as long as the waveforms amplitude?
If I draw a marker on a silent part I don't see a vertical line. If I draw one on a loud part I can see the line.
Can I change this behaviour?

Thanks again


radio42

  • Posts: 4576
Re: BASS.NET API 2.4.8.5
« Reply #1066 on: 21 Mar '12 - 15:19 »
No, the height of a marker line is defined by the "MarkerLength" property and has nothing to do with any 'amplitude'.
The "MarkerLength" property gets or sets the length of the marker line to be drawn in percentage of the total height (default is 0.1 = 10%).

How are you adding a marker?

smoodilo

  • Guest
Re: BASS.NET API 2.4.8.5
« Reply #1067 on: 21 Mar '12 - 18:31 »
I was using your example, which does not set the markerlength property.
So I saw a line of 10%. It's clear to me now.

Thanks

ramesh.joshi

  • Posts: 3
Re: BASS.NET API 2.4.8.5
« Reply #1068 on: 3 Apr '12 - 09:09 »
Hello Everyone,
I am using this library in my .NET project, but what ever examples or code i am seeing in the internet i am getting the common error in all examples.
When below code gets executed

BASS_Init(-1, 44100, BASS_DEVICE_DEFAULT, IntPtr.Zero, Nothing)

Or

Bass.BASS_Init(-1, 44100, BASSInit.BASS_DEVICE_DEFAULT, System.IntPtr.Zero);

i get the following error

(Exception from HRESULT: 0x8007000B)

Please help me out on this issues.

radio42

  • Posts: 4576
Re: BASS.NET API 2.4.8.5
« Reply #1069 on: 3 Apr '12 - 10:05 »
This is a bad-image-format-exception.
E.g. you are tying to load a 32-bit dll into a 64-bit application.
Details can be found here:
http://www.un4seen.com/forum/?topic=13277.msg92581;topicseen#msg92581

ramesh.joshi

  • Posts: 3
Re: BASS.NET API 2.4.8.5
« Reply #1070 on: 3 Apr '12 - 11:07 »
Thank you very much   :)
Running perfectly  :)

radio42

  • Posts: 4576
Re: BASS.NET API 2.4.8.5
« Reply #1071 on: 3 Apr '12 - 11:56 »
03.04.2012: Version 2.4.8.6 is out!

BASSenc: added support for v2.4.9.1
BASS_ASIO: added support for v1.2.0.0
BASSCD: added support for v2.4.5.2
BASSMIDI: added support for v2.4.6.11
BASS_DSHOW: added support for v1.2.2.0
General:
   - Broadcast: new BroadCastEventType.Reconnected added
   - WaveForm: Marker drawing bug-fix

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

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


smodielo

  • Guest
Re: BASS.NET API 2.4.8.6
« Reply #1072 on: 3 Apr '12 - 16:14 »
Bernd,

I was thinking, and it's a long shot: But I have a problem with ChannelSetPosition in combination with Bass_Dshow (the video starts playing when in pause if I try to set the position. Is it possible that there is a bug in your wrapper for this somewhere? Could you please check, just to rule this out?




radio42

  • Posts: 4576
Re: BASS.NET API 2.4.8.6
« Reply #1073 on: 3 Apr '12 - 16:31 »
No, that's all plain 1:1 calls to DSHOW  - no extra code in my wrapper - so it must somehow be related inside BASS_DHSOW I guess.

ramesh.joshi

  • Posts: 3
Re: BASS.NET API 2.4.8.6
« Reply #1074 on: 3 Apr '12 - 16:55 »
Hi all,
i am using BASS.NET Dll with my WPF application and trying to create a small mp3 player application. How can i use this DLL, can anyone help me out on this issue or is there any sample for this ?
I downloaded samples from    "http://www.un4seen.com/" but is not working.

Thanks in advance.