alcCreateContext crashes with OpenAL-Soft and portaudio backend on linux Ubuntu 9.10

Manolache Adrian <[email protected]>
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
I'm on linux Ubuntu 9.10 and trying to get OpenAL-Soft working with portaudio, as a backend. Compilation works just fine, the output device(only one) returned by enumerating devices is 'PortAudio Software' but the program crashes when calling alcCreateContext. Anyone has any idea why does this happen? Here's the stack trace:

#0 0xb7fe2430    __kernel_vsyscall() (??:??)
#1 0xb7a63f75    sem_wait@@GLIBC_2.1() (/lib/tls/i686/cmov/libpthread.so.0:??)
#2 0x816fa35    StartStream(s=0x829b3d0) (src/hostapi/oss/pa_unix_oss.c:1746)
#3 0xb7d1ffd8    pa_reset_playback(device=0xb63bd008) (/home/adrian/OpenAL/trunk/OpenAL-Soft/Alc/portaudio.c:236)
#4 0xb7d086a3    alcCreateContext(device=0xb63bd008, attrList=0x0) (/home/adrian/OpenAL/trunk/OpenAL-Soft/Alc/ALc.c:1259)
#5 0x80c6767    Endeavour::Sound::OpenALSoundSystem::init() () (??:??)
#6 0x80c6b1a    Endeavour::Sound::OpenALSoundSystem::Instance() () (??:??)
#7 0x80da645    CGameEngine::Init(char*, int, int, unsigned char, bool) () (??:??)
#8 0x80ee0d2    GameStart() () (??:??)
#9 0x80ee115    main() (??:??)

Also, why don't i get any HW Acceleration here?

Thanks,

Adrian

_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.