• Welcome to Dark Bit Factory & Gravity.
 

Using BASSMOD in Code::Blocks (cpp)

Started by xteraco, June 02, 2006

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

xteraco

hey all, i wrote a lil thing about usin bassmod, figured it may be of use....

to lazy to copy/paste it all, so i attached it, also because i wanted to go ahead and include the lib, so you dont have to go looking for it
:)


Rbz

Nice one xteraco  :)

Just don't forget to free allocated Bassmod music memory ;)

int main()
{
    LoadMusic();
    PlayMusic();
    ErrorReport();
    ScreenHold();

    //stop music
    BASSMOD_MusicStop();
    //free bassmod music   
    BASSMOD_MusicFree();
   
    return 0;
}



Challenge Trophies Won:

xteraco

what can i say? i knew how to do it, but i *am* the lazyest coder on the face of the planet

Shockwave

Kewl stuff Xteraco :) Thanks for sharing
Shockwave ^ Codigos
Challenge Trophies Won:

Phoenix

Pretty neat Xteraco, thanks for sharing.