Do you mean buffering of a sample onto a source?

Have a look at src\openalpp\Stream.cpp, FileStream.cpp StreamUpdater.cpp and
FileStreamUpdater.cpp

I think you will find the examples you are looking for.

Stream and StreamUpdater is the main classes for handling streaming sound.
FileStream is for reading Ogg files and streaming the samples using a double
buffer method.


There is also a couple of depricated classes NetSt
/Anders


On 4/4/07, RJ <[EMAIL PROTECTED]> wrote:

Hi Anders,
Can you tell me how to do buffer queuing using osgAL. I know how it is
done in openAL, but not able to figure out how it is done using osgAL.
best regards
RJ

On Mon, 2007-04-02 at 21:18 +0200, Anders Backman wrote:
> Great!.
>
> If you stumble onto something else, just ping me.
>
> /Anders
>
> On 4/2/07, RJ <[EMAIL PROTECTED]> wrote:
>         Hi Anders,
>         I did as you said and now i am able to build osgAL from source
>         code
>         on linux . Thanks for the help guys.
>         best regards
>         RJ
>
>         On Sat, 2007-03-31 at 20:49 +0200, Anders Backman wrote:
>         > If you use the svn version of osgAL it should compile just
>         fine with
>         > the latest svn version of OpenSceneGraph.
>         > Due to some changes in OpenThreads (moving ReentrantMutex
>         from osgDB
>         > to OpenThreads) it needs the latest svn version of OT and
>         OSG.
>         >
>         > Cheers,
>         > Anders
>         >
>         >
>         >
>         > On 3/31/07, RJ < [EMAIL PROTECTED]> wrote:
>         >         Hi Robert,
>         >         One trouble with osgAL is that it require openal++.
>         >         But the openal++ sources available on sourceforge
>         >         are not compiling and the cvs version is not
>         available .
>         >         So i am stuck with osgAL. Is there any other
>         alternative
>         >         for integrating audio in OSG.
>         >         best reagrds
>         >         RJ
>         >
>         >
>         >
>         >         On Sat, 2007-03-31 at 11:30 +0100, Robert Osfield
>         wrote:
>         >         > Hi RJ,
>         >         >
>         >         > On 3/31/07, RJ <[EMAIL PROTECTED]> wrote:
>         >         > > Hi Guys,
>         >         > > I want to integrate 5.1 stereo audio in my
>         project.
>         >         > > Any Suggestions?
>         >         > > best regards and thanks in advance
>         >         >
>         >         > Would OpenAL suffice?  If so there is an osgAL
>         NodeKit
>         >         available,
>         >         > check the community section for it.
>         >         >
>         >         > Robert.
>         >         > _______________________________________________
>         >         > osg-users mailing list
>         >         > osg-users@openscenegraph.net
>         >         > http://openscenegraph.net/mailman/listinfo/osg-
>         users
>         >         > http://www.openscenegraph.org/
>         >         >
>         >
>         >         _______________________________________________
>         >         osg-users mailing list
>         >         osg-users@openscenegraph.net
>         >         http://openscenegraph.net/mailman/listinfo/osg-users
>         >         http://www.openscenegraph.org/
>         >
>         >
>         >
>         > --
>         >
>         >
>         >
>         ________________________________________________________________
>         > Anders Backman               Email:    [EMAIL PROTECTED]
>         > HPC2N/VRlab                  Phone:    +46 (0)90-786 9936
>         > Umea university              Cellular: +46 (0)70-392 64 67
>         > S-901 87 UMEA SWEDEN         Fax:      +46 90-786 6126
>         >                                http://www.cs.umu.se/~andersb
>         > _______________________________________________
>         > osg-users mailing list
>         > osg-users@openscenegraph.net
>         > http://openscenegraph.net/mailman/listinfo/osg-users
>         > http://www.openscenegraph.org/
>
>         _______________________________________________
>         osg-users mailing list
>         osg-users@openscenegraph.net
>         http://openscenegraph.net/mailman/listinfo/osg-users
>         http://www.openscenegraph.org/
>
>
>
> --
>
>
> ________________________________________________________________
> Anders Backman               Email:    [EMAIL PROTECTED]
> HPC2N/VRlab                  Phone:    +46 (0)90-786 9936
> Umea university              Cellular: +46 (0)70-392 64 67
> S-901 87 UMEA SWEDEN         Fax:      +46 90-786 6126
>                                http://www.cs.umu.se/~andersb
> _______________________________________________
> osg-users mailing list
> osg-users@openscenegraph.net
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/




--


________________________________________________________________
Anders Backman               Email:    [EMAIL PROTECTED]
HPC2N/VRlab                  Phone:    +46 (0)90-786 9936
Umea university              Cellular: +46 (0)70-392 64 67
S-901 87 UMEA SWEDEN         Fax:      +46 90-786 6126
                              http://www.cs.umu.se/~andersb
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to