OGRECave / ogre-audiovideo

plugins for theora video playback and openAL audio
https://ogrecave.github.io/ogre-audiovideo/
BSD 3-Clause "New" or "Revised" License
14 stars 11 forks source link

(re)add Ogre-next plugin init interface #40

Closed rpaciorek closed 2 years ago

rpaciorek commented 2 years ago
paroj commented 2 years ago

Ogre2 need dllStartPlugin

I doubt that. Just creating OgreOggSound::Root like

https://github.com/OGRECave/ogre-audiovideo/blob/ffa0dcabd63a49158e2ea942fde33c49898a8e03/demos/player/player.cpp#L41

should be sufficient for Ogre2 as well.

rpaciorek commented 2 years ago

OK, it is also a way ... don't use plugin.cfg and load directly from application code ... but then OgreOggSound is not Ogre Plugin (should change header in README.md? ... but TheoraVideo still is plugin ... so a bit weird) ...

paroj commented 2 years ago

If you need to #include .. something, it is not a plugin by definition.

You cant do anything with OggSound without linking to it, while with TheoraVideo, you can still do this: https://codedocs.xyz/OGRECave/ogre/_external-_texture-_sources.html