Posted July 14, 201213 yr BASS static lib v.2.4 MASM32 player exampleBASS.static.lib.v.2.4.MASM32.player.zip Edited July 14, 201213 yr by ::: - phpbb3 - :::
July 14, 201213 yr 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, 201213 yr by alaphate
July 15, 201213 yr Author bugs fixedBass.2.4.without.SampleLoad.zipnot support Sample,plugin,streamsbass.2.4.zipBass.2.4.without.SampleLoad.zip
July 18, 201213 yr 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..
July 19, 201213 yr 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, 201213 yr by alaphate
Create an account or sign in to comment