BASS audio package

Just starting out? Need help? Post your questions and find answers here.
bucodi
New User
New User
Posts: 7
Joined: Tue Jan 15, 2008 12:18 pm
Location: France - Bretagne

BASS audio package

Post 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
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post 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).
bucodi
New User
New User
Posts: 7
Joined: Tue Jan 15, 2008 12:18 pm
Location: France - Bretagne

Post 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
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post 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.
bucodi
New User
New User
Posts: 7
Joined: Tue Jan 15, 2008 12:18 pm
Location: France - Bretagne

Post by bucodi »

Thanks Ricardo, it works

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

rony
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post 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!!
Post Reply