Page 1 of 1

BASS audio package

Posted: Thu Jun 05, 2008 1:24 pm
by bucodi
Hi,

I'm trying to develop a small application that can play any audio format (OGG,MP3,WAV). It looks to me the only solution to do this would be the BASS audio package?
I've found the package and the PB api on the Un4seen site, but it is not very clear to me where and what I have to install, so I could use some help here.

Allso a small code example to use it would be nice, nothing fancy, just how to play a certain wav file would be nice.

thx

rony

Posted: Thu Jun 05, 2008 1:37 pm
by ricardo
Here i put some example:

http://www.purebasic.fr/english/viewtop ... highlight=

About install, you need to have the included files, the dll itself (bass dll) and the lib that comes with the dll (bass.lib).

Posted: Thu Jun 05, 2008 1:40 pm
by bucodi
Thanks Ricardo

My main question was
- Where do I place the DLL ?
- Where do I place the lib files
- Where do I place the other files

with 'where' meaning in which directory ?

Sorry of this sounds stupid :oops:

rony

Posted: Thu Jun 05, 2008 1:45 pm
by ricardo
I put the dll and the lib in compilers directory (just need to remember that if you compile and deliver any application, the dll need to be delivered too with the software).

The included files in the same folder where you code is.

Thats the way i have done it, just my own way to do it.

Posted: Thu Jun 05, 2008 3:05 pm
by bucodi
Thanks Ricardo, it works

Allso, your example MP3 player is perfect to get me started.

rony

Posted: Thu Jun 05, 2008 3:09 pm
by ricardo
bucodi wrote:Thanks Ricardo, it works

Allso, your example MP3 player is perfect to get me started.

rony
BASS is a very nice software that brings a lot of possibilities.

Good to hear that the examples was usefull for some one :)

Good luck in your project!!