bass dll wrapper: unavailable?
Blitz3D Forums/Blitz3D Beginners Area/bass dll wrapper: unavailable?
| ||
does anyone know if there's a new version of the bass dll wrapper for blitz basic? (www.un4seen.com/bass.html) |
| ||
Its hosted by DBF at their messageboard here: http://pub161.ezboard.com/bdbf There is a link on the first page you get to. |
| ||
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. |
| ||
I`m using Bass2 now ,, why do you need a wrapper ? ? ? |
| ||
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. :) |
| ||
Im using bass2.0 straight from u4seen , no wrapper just wrote a userlib darkbasic was not involved anywhere |
| ||
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 :) |
| ||
hey spot_bot - your pagedesign incredible cool! Did you design this or is this an existing template? |
| ||
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 |
| ||
@jfk: well i'm a designer, so i don't use templates ;-) |
| ||
@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 |
| ||
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). |