RebelSDL problems.
Posted: Fri Aug 07, 2026 10:29 am
Turning here if someone has been dealing with these problems before.
A very strange problem happened.
I had these two lines:
And it started (Under Flowerpot AOS4 emulation) normally, and didnt crash until it was trying to load an audio file.
To prevent this from happening, I did one change:
After this I started getting error of: SDL2 not found on this system, pointing to the line number 2, the @REQUIRE rebelsdl
Strange part is, even I changed the code back to:
And even restarted Flowerpot, I still keep getting the same error.
Anyone know where the problem is actually?
Do I actually need to install SDL2 to AOS4, or is problem somewhere elsewhere, since, once again, it didnt give that error before, only after I had tried to add the UseAudioAdapter=False.
Second thing. Which is related to the original problem.
How does taking over things happen with @REQUIRE.
As in, RebelSDL takes over the audio. But if I want to use avcodec instead, then what way do I achieve this.
As in, If I simply use UseAudioAdapter=False for RebelSDL, is this enough, or does it also matter in what order those @Requires are done?
For example, should I first @REQUIRE RebelsSDL, then on next line AvCodec. And if doing this way, will I even need to use UseAudioAdapter=False, or will the AvCodec @Required after RebelSDL actually take over REbelSDLs audio?
A very strange problem happened.
I had these two lines:
Code: Select all
@REQUIRE "avcodec", {Link = True}/* For AmigaOS4, maybe MorphOS too */
@REQUIRE "rebelsdl", {Link = True}
To prevent this from happening, I did one change:
Code: Select all
@REQUIRE "avcodec", {Link = True}/* For AmigaOS4, maybe MorphOS too */
@REQUIRE "rebelsdl", {Link = True, UseAudioAdapter=False}Strange part is, even I changed the code back to:
Code: Select all
@REQUIRE "avcodec", {Link = True}/* For AmigaOS4, maybe MorphOS too */
@REQUIRE "rebelsdl", {Link = True}Anyone know where the problem is actually?
Do I actually need to install SDL2 to AOS4, or is problem somewhere elsewhere, since, once again, it didnt give that error before, only after I had tried to add the UseAudioAdapter=False.
Second thing. Which is related to the original problem.
How does taking over things happen with @REQUIRE.
As in, RebelSDL takes over the audio. But if I want to use avcodec instead, then what way do I achieve this.
As in, If I simply use UseAudioAdapter=False for RebelSDL, is this enough, or does it also matter in what order those @Requires are done?
For example, should I first @REQUIRE RebelsSDL, then on next line AvCodec. And if doing this way, will I even need to use UseAudioAdapter=False, or will the AvCodec @Required after RebelSDL actually take over REbelSDLs audio?