Hi Sukender,

I updated my osgAL version with latest svn revision 71 and it works
perfectly, code isn't commented anymore.
I was maybe using an old svn update, my apologize ;-)

2009/1/26 Sukender <[email protected]>

> Hi Alexandre,
>
> I *DO* call "osgAL::SoundManager::instance()->getSample()" in my app and it
> works perfectly... since the code is not commented! Which revision do you
> use? Revisions 70 and 71 ( https://osgal.svn.sourceforge.net/svnroot/osgal) 
> work perfectly for me.
>
> Sukender
> PVLE - Lightweight cross-platform game engine -
> http://pvle.sourceforge.net/
>
>
>
> Le Mon, 26 Jan 2009 14:47:09 +0100, Alexandre Amalric <
> [email protected]> a écrit:
>
> > Hi Sukkender,
> >
> > I found something interesting in last svn update in soundmanager.cpp :
> >
> > try {
> >             // Cache miss, load the file:
> >             /*std::string new_path = osgDB::findDataFile(path);
> >             if (new_path.empty()) {
> >                 osg::notify(osg::INFO) << "SoundManager::getSample():
> Unable
> > to find requested file: " << path << std::endl;
> >                 return 0;
> >             }
> >
> >             sample = new openalpp::Sample(new_path.c_str());*/
> >         }
> >
> > The part of code responsible from loading sample file if there is no
> cache
> > available is in comment. Maybe we have to uncomment this part to get
> > osgal_multiple working because in this sample we call
> > osgAL::SoundManager::instance()->getSample instead of creating a new
> sample
> > file ;-)
> >
> > Kind regards,
> >
> > 2009/1/17 Sukender <[email protected]>
> >
> >> Hum, I don't think so... If you find a mistake somewhere, feel free to
> >> email me so that I correct it.
> >>
> >> Sukender
> >> PVLE - Lightweight cross-platform game engine -
> >> http://pvle.sourceforge.net/
> >>
> >>
> >> Le Fri, 16 Jan 2009 15:59:31 +0100, Alexandre Amalric <
> >> [email protected]> a écrit:
> >>
> >> > Hi osg-users,
> >> >
> >> > And sorry to bother you again but,
> >> >
> >> > I tried the latest osgAL(svn) like mentioned above but the
> osgal-multiple
> >> > example seems to don't work anymore. I tried the oalpp-multiple
> example
> >> wich
> >> > works perfectly, so it's not my soundcard...
> >> >
> >> > Is there any change from the last update that could have corrupt the
> >> > osgal-multiple example ?
> >> >
> >> > 2009/1/16 Alexandre Amalric <[email protected]>
> >> >
> >> >> Bonjour, Jean-Sébastien, Sukender
> >> >>
> >> >> I updated today last version from osgAL and OSG (svn both) and
> >> everything
> >> >> is working fine.
> >> >> No more error message when compiling.
> >> >> Maybe I was missing something in my CMAKE configuration.
> >> >>
> >> >> Thank you for your support.
> >> >>
> >> >> 2009/1/15 Jean-Sébastien Guay <[email protected]>
> >> >>
> >> >> Bonjour Alexandre,
> >> >>>
> >> >>>  Erreur    1    error C2504: 'std::basic_fstream<_Elem,_Traits>' :
> >> classe
> >> >>>> de base non définie    C:\Program
> >> Files\OpenSceneGraph\include\OsgDB\fstream
> >> >>>>    31
> >> >>>>
> >> >>>
> >> >>> That's in fact a compile error in OSG, not related to osgAL in any
> way.
> >> >>> What compiler/platform are you using?
> >> >>>
> >> >>> Is there any chance you have an incomplete SVN working copy of OSG?
> >> >>> Because the #include <fstream> at the top of the file should include
> >> the
> >> >>> base class of osgDB::fstream...
> >> >>>
> >> >>> J-S
> >> >>> --
> >> >>> ______________________________________________________
> >> >>> Jean-Sebastien Guay    [email protected]
> >> >>>                               http://www.cm-labs.com/
> >> >>>                        http://whitestar02.webhop.org/
> >> >>>
> >> >>> _______________________________________________
> >> >>> osg-users mailing list
> >> >>> [email protected]
> >> >>>
> >>
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >> >>>
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Alexandre AMALRIC                   Ingénieur R&D
> >> >> ===================================
> >> >> PIXXIM S.A. 73E, rue Perrin-Solliers 13006 Marseille
> >> >> http://www.pixxim.fr
> >>
> >> _______________________________________________
> >> osg-users mailing list
> >> [email protected]
> >>
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Alexandre AMALRIC                   Ingénieur R&D
===================================
PIXXIM S.A. 73E, rue Perrin-Solliers 13006 Marseille
http://www.pixxim.fr
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to