In which order Plugins override each other?

Discuss about plugins that don't have a dedicated forum
Post Reply
Bugala
Posts: 1443
Joined: Sun Feb 14, 2010 7:11 pm

In which order Plugins override each other?

Post 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?
User avatar
airsoftsoftwair
Posts: 6006
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: In which order Plugins override each other?

Post 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.
Post Reply