FMOD/BASS/OpenAL Question
Which PortAudio packages did you compile? There are many, many programs that come with PortAudio that do many different things. I want to be able to maintain this myself, and have been trying to set up a C environment with MinGW and MSYS with no joy (GCC and C fight you every step of the way).It includes an import library, a dll (you will require the dlls, the .lib contains no real code) and an include file for PortAudio and for libsndfile (simple wave saving/loading). Both are straight compilations with Visual Studio of the packages found on their website.
Re: FMOD/BASS/OpenAL Question
How come PortAudio always crashes when using Pa_OpenStream()?
Re: FMOD/BASS/OpenAL Question
The dll provided by freak was compiled with the wrong struct member alignment and all functions that deals with structures will fail.
I recompiled portaudio and uploaded it here:
http://www.rocketsoft.gm-school.uni.cc/uploads/dist.zip
freak's files (except portaudio dll and lib) are included to help you get started, I hope it's okay freak.
Also the file contains the reference doc for portaudio and a tutorial from the portaudio wiki.
I recompiled portaudio and uploaded it here:
http://www.rocketsoft.gm-school.uni.cc/uploads/dist.zip
freak's files (except portaudio dll and lib) are included to help you get started, I hope it's okay freak.
Also the file contains the reference doc for portaudio and a tutorial from the portaudio wiki.
Re: FMOD/BASS/OpenAL Question
> freak's files (except portaudio dll and lib) are included to help you get started, I hope it's okay freak.
Sure, no problem.
I wonder why i did not run in the structure alignment problem. I only used it for a very small project though so maybe i was just lucky.
Sure, no problem.
I wonder why i did not run in the structure alignment problem. I only used it for a very small project though so maybe i was just lucky.
quidquid Latine dictum sit altum videtur
Re: FMOD/BASS/OpenAL Question
In your example you use OpenStreamDefault(), which does not take a structure, instead of OpenStream(), which takes two structures.freak wrote:I wonder why i did not run in the structure alignment problem. I only used it for a very small project though so maybe i was just lucky.
Structures are mostly used for getting information, so if you just use defaults and don't want to know what they are, you probably didn't need the structures. Getting information didn't crash anything, though, only nonsense information was returned (like, latency=981234119234.12348723
