Sound in C++
Ive seen many libraries for sound (Bass, openal) etc. im trying to ask which sound Library is best for streaming live sound of the internet.
Ive tried Bass with the code blocks/gcc compiler but all it gives me when i try to compile the samples is this:
.objs\basstest.o:basstest.c:(.text+0xa)||undefined reference to `_BASS_ErrorGetCode@0'|
(and 29 other identical errors)
can anyone tell me how to fix this or another way to stream audio files from the internet
ive already added bass.h to the include folder and bass.dll and bass.lib to the project folder
What do you mean you added them to the project tolder? Just copied them? Are you telling the compiler where to find headers and libraries and to link with the libraries?
It depends on the context. Do you mean streaming VOIP, streaming say mp3's, something else entirely?
I am looking at streaming something like live wma files
I just copied them into the folder i didnt link them
And how exactly do you intend to stream them. I am assuming (since this is a C/C++ forum) that you want to be able to send the data over the network to a client application that you are also writing. I would suggest using DirectSound to capture the raw audio, then use a real time compression codec and send it over a socket.
This assumes its a hobby project. If you are writing a commercial product I recommend the TeamSpeak 3 SDK. It comes with a robust API and integrated codec's.
Actually I found the solution to my problem
oh ya the audio is from some live internet broadcast (not mine )(belongs to a non profit organization)
How about VOIP streaming ?
kakayoma....wud you share with the class.....wt solved your prob? :)