Hi Chris (and others) --
In the example_osgaudio, source file osgaudio.cpp, line 415, the example creates
a sample like this:
osgAudio::Sample *sample = new osgAudio::Sample("high-e.wav");
This doesn't appear to use the OSG_FILE_PATH to find the file, and in fact fails
to load the file. I modified the example to do this:
osgAudio::Sample *sample = new osgAudio::Sample(
osgDB::findDataFile( "high-e.wav" ) );
But I'm wondering if the better approach would be to modify the osgAudio::Sample
constructor to actually do this on behalf of the application? After all, it is
an osgAudio object (not an underlying audio back-end construct).
What do you think?
--
-Paul Martz Skew Matrix Software
http://www.skew-matrix.com/
--
You received this message because you are subscribed to the Google Groups "osgAudio-users" group.
To post to this group, send email to
osgaudi...@googlegroups.com.
To unsubscribe from this group, send email to
osgaudio-user...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/osgaudio-users?hl=en.