::: - phpbb3 - ::: Posted July 14, 2012 Posted July 14, 2012 (edited) BASS static lib v.2.4 MASM32 player exampleBASS.static.lib.v.2.4.MASM32.player.zip Edited July 14, 2012 by ::: - phpbb3 - ::: 1
alaphate Posted July 14, 2012 Posted July 14, 2012 (edited) great! It seems like a mod music version, without BASS_SampleLoad.How can I use it in C or C++?BTW, the simple player source may have some bugs.It should not free resources during WM_DESTROY message,It should process these actions during WM_CLOSE message.Thank you. Edited July 14, 2012 by alaphate
Aguila Posted July 15, 2012 Posted July 15, 2012 Nothing new: http://forum.tuts4you.com/topic/22731-bassmod-as-lib/
::: - phpbb3 - ::: Posted July 15, 2012 Author Posted July 15, 2012 bugs fixedBass.2.4.without.SampleLoad.zipnot support Sample,plugin,streamsbass.2.4.zipBass.2.4.without.SampleLoad.zip 1
Ufo-Pu55y Posted July 18, 2012 Posted July 18, 2012 While I appreciate your attempts to share a working bass lib..do you actually test your attachments at all?I mean does it still play the supported formats?Also what are you trying to achieve compared to the(at least 100% working) bass lib posted by ghandi?I'm just curious, since all your libs look quite damaged over here..
alaphate Posted July 19, 2012 Posted July 19, 2012 (edited) The updated static lib may have some bugs when using BASS_SampleLoad.Here is the main code and full project attached.The project has been tested with original lib with no errors.int main(){if(!BASS_Init( -1, 44100, 128, 0, 0)) {printf("BASS_Init failed! \n");return 1;}HSAMPLE hMusic =0;hMusic = BASS_SampleLoad(false, ".\\bird.mp3\0", 0, 0, 1, 0);if(!hMusic) {printf("hMusice = 0 \n");return 1;}HCHANNEL hMainFX = 0;hMainFX = BASS_SampleGetChannel(hMusic, FALSE);if(!hMainFX) {printf("hMainFX = 0 \n");return 1;}BASS_ChannelPlay(hMainFX, FALSE);printf("press any key to stop the music!");getch();return 0;}baseTest.zip Edited July 19, 2012 by alaphate
Ufo-Pu55y Posted July 19, 2012 Posted July 19, 2012 Sigh..PS: For the ones interested, check the link posted above by Aguila
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now