Jump to content
Tuts 4 You

BASS static lib v.2.4


::: - phpbb3 - :::

Recommended Posts

Posted (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 by alaphate
Posted

Thanks! it's smaller size.

Posted

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..

Posted (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 by alaphate
Posted

::: - phpbb3 - :::

Great! Thank you so much.

Posted

Sigh..

PS: For the ones interested, check the link posted above by Aguila

  • 3 weeks later...
Posted

netradio example does not work with etogy lib.

  • 1 year later...
ghsafsdfsdhfghfgjhgkj
Posted

please update new version. 2.4.10.0


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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...