Mathew Carr
2005-09-03 20:09:02 UTC
Hi there!
I'm trying to use Audiere on win32 (Windows XP) using mingw/gcc
'2.95.3-6 (mingw special)', but every time I run the compiled exe, I
get a windows error telling me it has to shut down. I was following
the tutorial txt, and I then tried copying the relevant parts into the
middle of my half-finished game, but then I got the crash.
To test, I placed the audiere code by itself in this small program; it
seems that the 'AudioDevicePtr device(OpenDevice());' is causing the
crash. Do I need to initialise Audiere before I try opening the
device?.. or is it about high time I updated my MinGW? I've pasted the
code that causes the crash.
Cheers. :)
----
#include <audiere.h>
using namespace audiere;
int main(int argc, char *argv[]) {
AudioDevicePtr device(OpenDevice());
if (!device) {
return 0; // failure
}
}
----
I'm trying to use Audiere on win32 (Windows XP) using mingw/gcc
'2.95.3-6 (mingw special)', but every time I run the compiled exe, I
get a windows error telling me it has to shut down. I was following
the tutorial txt, and I then tried copying the relevant parts into the
middle of my half-finished game, but then I got the crash.
To test, I placed the audiere code by itself in this small program; it
seems that the 'AudioDevicePtr device(OpenDevice());' is causing the
crash. Do I need to initialise Audiere before I try opening the
device?.. or is it about high time I updated my MinGW? I've pasted the
code that causes the crash.
Cheers. :)
----
#include <audiere.h>
using namespace audiere;
int main(int argc, char *argv[]) {
AudioDevicePtr device(OpenDevice());
if (!device) {
return 0; // failure
}
}
----