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

port to minaudio & stb_vorbis #45

Open paroj opened 1 year ago

paroj commented 1 year ago

this would make us dependency-free, simplify build and avoid LGPL of OpenAL Soft.

Sample integration can be found here: https://github.com/cheofusi/just_playback/tree/main/just_playback

sercero commented 1 year ago

What about OpenAL hardware?

This would make ogre-audiovideo entirely Software based, right?

paroj commented 1 year ago

I think OpenAL hardware is not a thing anymore. The only existing OpenAL HW accelaration seems to have existed on Creative Cards on Windows https://github.com/kcat/openal-soft/issues/692

OpenAL Soft does not provide HW accelaration and seems to merely translate to the same backends as miniaudio

sercero commented 1 year ago

Isn't this like a pretty big change?

Perhaps a new repo with a new name should be created and let's see what people want to use.

Perhaps ogre-minaudio or something like that.

I'm afraid of losing features because Chris Robins keeps develping new things for OpenAL.

paroj commented 1 year ago

it would take a preliminary port to really judge which features will be lost and whether a full port is ultimately worth it.

however, using stb_vorbis should be done first anyway as it is replaces both ogg and vorbis dependencies.

paroj commented 1 year ago

also this is a "nice to have" issue rather than something to be immediately implemented

sercero commented 1 year ago

Good idea