-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HL:Invasion Add MiniAudio Music implementation #273
Conversation
I don't see any reason to use FMod or GStreamer anyway. |
Should it be on server though? For Invasion it's ok since it's a
singleplayer mod but for generic implementation it wouldn't work nicely in
multiplayer.
пн, 11 июл. 2022 г., 23:51 nekonomicon ***@***.***>:
… I don't see any reason to use FMod or GStreamer anyway.
May be will be good to use miniaudio by default.
—
Reply to this email directly, view it on GitHub
<#273 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYQTAPPFFW3IQLCYJ2KQDDVTSCL3ANCNFSM53GB6HGA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Unfortunately, original invasion uses fmod on server side. |
@nekonomicon @a1batross |
Poke646 reads playlist and uses FMod on client side. |
@nekonomicon I've removed gstreamer / fmod / null implementations and options in a new commit, RoyShapiro@418ae2d. I've also tried to find a way to disable this in multiplayer, |
Try to use UTIL_Remove. |
@nekonomicon Anyway, I tried moving the music player code to the client instead as suggested, and was successful. The code turned out to be a little less... Compact. I guess it stands to reason to move it to |
There is multiplayer part of Invasion? I never played that mod to be honest. :) |
@a1batross |
Under generic support, I've meant #270 |
@a1batross Oh, I see, so @FreeSlave wanted to tackle the issue as well. I didn't know that, so my attempts to kinda do the same are unrelated and I wasn't initially planning to do a generic implementation. I just wanted to "debloat" my previous code mess :D Anyway, Invasion has some peculiarities, like the playlist format. I've just pushed the client side version here, 3e62e6b |
LGTM. |
@nekonomicon Thanks. According to logs it gives no errors on Windows anymore, but gets "cancelled" due to unspecified reasons. |
Hello again!
I've added Miniaudio music implementation to Invasion mod, as promised.
It should now be much more portable.
The CMakeList.txt still uses null music player by default, so the music implementation is selectable at compile time.
I'm thinking of dropping both the GStreamer ("bloat" (c) @nekonomicon ) and the original FMod (proprietary and incredibly outdated) implementations.
What do you think?