Wrapper needed for SIDplay2

BlitzMax Forums/BlitzMax Beginners Area/Wrapper needed for SIDplay2

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

@wedoe - currently there is no way for libsidplay to detect the length of a song inside the SID. there is a utility addon that creates a sort of SID database with lengths, but you still have to create the database by typing in the tune and its length. there is an interface there for song length, so hopefully the author will at some point put that in. as for looping, i assume you just mean looping the sample endlessly? LoadSIDSample returns a standard BlitzMax TAudioSample. you pass that into LoadSound which has a looping parameter. pass true to that and it will loop endlessly. dont have the sample i put into the doc with me, but i believe it has the looping parameter passed in. same goes for pause and fastforward. if the BMAX audio features contain those, you should be able to use them on the sound returned by loadsound or the channel returned by playsound.

@zawran - donation was much appreciated :) i tried compressing the DLL and it kills it unfortunately. im working on putting something into the VC build of the DLL that will give the proper exports for MingW. im hopefull that i will have a much smaller library for you soon.

@everyone - in addition to smaller DLL size, im also working a bit on streaming the song instead of loading the sample first and then playing it. this should heavily decrease load times if i can get it to work.