[Openal-devel] alIsSource on windows

Andrew McDonald myrmecophagavir at hotmail.com
Sun Nov 20 13:17:26 PST 2005


Laszlo Toth wrote:

> I've tried to use the downloadable openal v1.1 sdk for windows. It seems I 
> can call alutInit/alGenSources without an error, but when I call 
> alIsSource on the freshly generated source I get a false return. The same 
> code worked well on the linux version (using openal v1.1).
>
> I tried to modify the buffer test in the openal sample to look like this:
>
> ALvoid BufferTest(ALvoid)
> {
>        ALuint  source[1];
>        [Snip]
>        alGenSources(1,source);
>        [Snip]
>        if (!alIsSource(source[1]))

That should be source[0]. This must have worked on Linux only by random 
chance.

--
Andy 



More information about the Openal-devel mailing list