bass dll wrapper: unavailable?

Blitz3D Forums/Blitz3D Beginners Area/bass dll wrapper: unavailable?

Spot-Nothing(Posted 2003) [#1]
does anyone know if there's a new version of the bass dll wrapper for blitz basic? (www.un4seen.com/bass.html)


Bremer(Posted 2003) [#2]
Its hosted by DBF at their messageboard here:

http://pub161.ezboard.com/bdbf

There is a link on the first page you get to.


Spot-Nothing(Posted 2003) [#3]
thanks! looks like the one i was looking for. the readme says it's version 1.8. the bass dll is 2.0, will there be a newer version soon? there are a lot of little new things which are great for possible blitz projects.


maverick(Posted 2003) [#4]
I`m using Bass2 now ,, why do you need a wrapper ? ? ?


joncom2000(Posted 2003) [#5]
You don't need a wrapper with the version DBF is hosting as it's a userlib, but the first Blitz Bass used an external dll to wrap the functions because at the time blitz did not have userlib support. :)


maverick(Posted 2003) [#6]
Im using bass2.0 straight from u4seen , no wrapper just wrote a userlib darkbasic was not involved anywhere


Clyde(Posted 2003) [#7]
Hiya!

Hope that all is working fine now, and also if you want you can allways Join in at DBF!

Take and keep us informed if you encounter any difficulties! :)

Cheers and all the best - Mikey F aka Clyde :)


jfk EO-11110(Posted 2003) [#8]
hey spot_bot - your pagedesign incredible cool! Did you design this or is this an existing template?


maverick(Posted 2003) [#9]
The only problem two problems i have had with bass2.0 and blitz are QWords (INT64) which blitz doesn`t support (one for the feature requests there i think) and getting ID3V2 tags into blitz ,, both of which i have figured out a work around


Spot-Nothing(Posted 2003) [#10]
@jfk: well i'm a designer, so i don't use templates ;-)


D2006(Posted 2003) [#11]
@maverick
can you please send me the .decls you use with Bass2.
EDIT: well, relax yourself. I think i do not need it really, sorry

THX

well, i think it isn't too hard to get ID3v2 informations without then Bass.dll.

Merry X-Mas


maverick(Posted 2003) [#12]
You can get the ID3V2 tags directly from the file but as far as i understand it the tags can be either at the begining or at the end of the file ,, also they can be intermingled with IDV1 tags ,, BASS presents these tags to you in a memory block which is accessed by a pointer. I have found that it is a lot easier to copy this memory chunk into a bank than parsing out the file itself, after all why reinvent the wheel ?.
As for the QWords , these point to the position in the file in bytes you want to play and is esential if you want to be able to fastforward or rewind the music , or if you want to start playing from an arbitary point ,but luckily BASS can be fooled into thinking it`s getting an INT64 (8byte) when in reality it`s getting two INT32`s (4byte).