Page 2 of 2
Posted: Sun Nov 11, 2007 6:26 am
by chris319
I wonder why it doesn't work on my XP installation. Are you doing anything special? My code always hangs up on Pa_Initialize().
Posted: Sun Nov 11, 2007 12:37 pm
by KarLKoX
Crappy soundcard driver ? Don't expect too much if you have a AC97 spu

Posted: Mon Nov 12, 2007 7:27 am
by chris319
KarLKoX wrote:Crappy soundcard driver ?
Could be. I'll try a different sound card and report back.
Posted: Fri Dec 14, 2007 4:02 am
by chris319
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.
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).
Re: FMOD/BASS/OpenAL Question
Posted: Sat Jan 16, 2010 1:44 pm
by Trond
How come PortAudio always crashes when using Pa_OpenStream()?
Re: FMOD/BASS/OpenAL Question
Posted: Wed Jan 20, 2010 7:53 pm
by Trond
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.
Re: FMOD/BASS/OpenAL Question
Posted: Wed Jan 20, 2010 8:39 pm
by freak
> 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.
Re: FMOD/BASS/OpenAL Question
Posted: Wed Jan 20, 2010 9:32 pm
by Trond
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.
In your example you use OpenStreamDefault(), which does not take a structure, instead of OpenStream(), which takes two structures.
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

)