pDevice = alcOpenDevice(NULL);
    pContext = alcCreateContext(pDevice, NULL);
    alcMakeContextCurrent(pContext);

it work in windows and linux.....





2010/9/7 ting zhang <bee...@sina.com>

> Hi, all
>
> I successfully compiled the osgAL project, but the examples in osgAL
> solution didn't work. They all notify me that:
>
> No Generic Hardware in :
> OpenAL++: couldn't open sound device.
>
> It seems that osgAL cannot find my sound device. However, my sound device
> actually works well in my Windows.
> Could anyone tell me what the problem is?
> Thank you!
>
> Cheers,
> ting
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=31365#31365
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Maxim Gammer
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to