Is there a reason SoundManager is a child of Referenced and is a singleton? These two things seem to contradict each other. It seems we do not need to sub-class from Referenced.
Doug
All of this was just following how osgAL did things. osgAudio IS osgAL with FMOD
support, or at least, that's how it started. The idea was to do things identically so you
guys (and others who were already using osgAL) could just do a couple search & replaces
and be using osgAudio.
I didn't even fully understand all of osgAL when I made osgAudio, I just figured that as
long as it already worked, and I constrained my changes to substituting FMOD where I found
openAL, that it would most likely continue to work, and the goal would be accomplished.
And it was, we got an FMOD-compatible osgAL called osgAudio, complete with osgAL's design
warts. ;)
Probably the only one who really understands the original design is Anders, and I don't
see much of him around, though I think he still uses OSG.
Now that we've done more changes to it functionally, maybe we should tag a major version
number and make breaking architecture changes that make better design sense from our
current perspective.
> Doug
--
Chris 'Xenon' Hanson, omo sanza lettere. Xe...@AlphaPixel.com http://www.alphapixel.com/
Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. Contracting.
"There is no Truth. There is only Perception. To Perceive is to Exist." - Xen
> On 3/14/2011 10:18 PM, Doug McCorkle wrote:
>> Hey Chris,
>> Is there a reason SoundManager is a child of Referenced and is a singleton? These two things seem to contradict each other. It seems we do not need to sub-class from Referenced.
>
> All of this was just following how osgAL did things. osgAudio IS osgAL with FMOD
> support, or at least, that's how it started. The idea was to do things identically so you
> guys (and others who were already using osgAL) could just do a couple search & replaces
> and be using osgAudio.
>
> I didn't even fully understand all of osgAL when I made osgAudio, I just figured that as
> long as it already worked, and I constrained my changes to substituting FMOD where I found
> openAL, that it would most likely continue to work, and the goal would be accomplished.
> And it was, we got an FMOD-compatible osgAL called osgAudio, complete with osgAL's design
> warts. ;)
>
> Probably the only one who really understands the original design is Anders, and I don't
> see much of him around, though I think he still uses OSG.
>
> Now that we've done more changes to it functionally, maybe we should tag a major version
> number and make breaking architecture changes that make better design sense from our
> current perspective.
OK. I am going to start "breaking" things then.
Doug
Doug
On Mar 15, 2011, at 9:09 AM, Doug McCorkle wrote:
> Let me know what you think.
>
> Doug
>
>
>