Page 1 of 1

In which order Plugins override each other?

Posted: Tue Aug 11, 2026 9:19 am
by Bugala
I am looking for clarification on what happens when two plugins conflict with each other.

I am currently planning on using both avcodec, as well as RebelSDL plugins.

Idea would be that audio would work through avcodec.


RebelSDL does have an option to use Hollywoods own audio system, instead of RebelSDL version by using UseAudioAdapter=False
But how does this conflicting situation go?

As in, I could have:

Code: Select all

@REQUIRE "rebelsdl"
@REQUIRE "avcodec"

Code: Select all

@REQUIRE "rebelsdl", {UseAudioAdapter=False}
@REQUIRE "avcodec"

Code: Select all

@REQUIRE "avcodec"
@REQUIRE "rebelsdl"

Code: Select all

@REQUIRE "avcodec"
@REQUIRE "rebelsdl", {UseAudioAdapter=False}
What will happen in these cases, as in, is in any of these cases Hollywood actually using AvCodec plugin for sounds, or will RebelSDL always override it?

Re: In which order Plugins override each other?

Posted: Wed Aug 12, 2026 9:56 pm
by airsoftsoftwair
Bugala wrote: Tue Aug 11, 2026 9:19 am What will happen in these cases, as in, is in any of these cases Hollywood actually using AvCodec plugin for sounds, or will RebelSDL always override it?
Whether you load avcodec or RebelSDL first doesn't matter at all because avcodec is just a decoder plugin and doesn't contain any audio driver so it doesn't care about whether the current audio driver is Hollywood's inbuilt one or the one provided by RebelSDL.