Commit Graph
17 Commits
Author SHA1 Message Date
Gregg e47f84568e fix: ambient music fade in (#25874) (#25969) 2024-03-11 04:08:05 +11:00
Fildranceandpa.pecherskij 4c87dcd3cb fix: lobby music volume will be changed on options change without restart (also lobby music not looped anymore) (#25530)
* fix: lobby music volume will be changed on options change without restart (also lobby music not looped anymore)

* refactor: now lobby music is part of ContentAudioSystem. Lobby playlist is used instead of single track. Client now selects next lobby soundtrack after previous finished.

* refactor: incapsulated info on current lobby track in simple record

* refactor: fixed inconsistent naming between song and soundtrack for lobbymusic

* refactor: xml-doc for LobbyPlaylistChangedEvent

* fix: inverted invalid _audio.PlayGlobal check to return only if lobby soundtrack play call failed

---------

Co-authored-by: pa.pecherskij <pa.pecherskij@interfax.ru>
2024-03-02 15:40:04 -05:00
Pieter-Jan Briersand0x6273 68ce53ae17 Random spontaneous cleanup PR (#25131)
* Use new Subs.CVar helper

Removes manual config OnValueChanged calls, removes need to remember to manually unsubscribe.

This both reduces boilerplate and fixes many issues where subscriptions weren't removed on entity system shutdown.

* Fix a bunch of warnings

* More warning fixes

* Use new DateTime serializer to get rid of ISerializationHooks in changelog code.

* Get rid of some more ISerializationHooks for enums

* And a little more

* Apply suggestions from code review

Co-authored-by: 0x6273 <0x40@keemail.me>

---------

Co-authored-by: 0x6273 <0x40@keemail.me>
2024-02-13 16:48:39 -05:00
Hannah Giovanna Dawson 2e7d23674e Actually fix round restart audio this time (#24754)
In which I'm a goober and don't clean up after
myself and accientally don't fix the issue I tried
to fix in my last round restart PR.

The audio is now maintained just like music during
restarts (yippee to ContentAudioSystem::OnRoundRestart)

This needs a refactor but at least the defect is fixed now.
2024-02-03 13:11:53 +11:00
metalgearsloth bc07cbc97c Fix audio fades (#23684)
Audio refactor casualty
2024-01-08 00:23:22 +11:00
metalgearslothandKara 4023134cf0 Add UI click sounds (#22410)
* Add UI click sounds

* tweaks

* Significant cleanup

* Audio options and numerous fixes

* Fix the remaining UI elements

* new click sound

---------

Co-authored-by: Kara <lunarautomaton6@gmail.com>
2023-12-29 15:43:36 +11:00
metalgearsloth 1bdf94da64 Audio fixes (#22324) 2023-12-11 21:26:55 +11:00
metalgearsloth b72c8553d8 Add audio multipliers back (#22260) 2023-12-09 15:18:15 +11:00
metalgearsloth 98d5f9f56b Make audio sliders use gain not volume (#21984) 2023-12-09 14:03:08 +11:00
metalgearslothandPieter-Jan Briers 269c93245d Unrevert audio (#21330)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2023-11-27 22:12:34 +11:00
metalgearsloth 5b8f3c48c4 Revert "Update submodule to 175.0.0 (#21318)" (#21319) 2023-10-29 15:29:30 +11:00
metalgearsloth 9b1b3e03ed Content audio (#20862) 2023-10-29 14:58:23 +11:00
metalgearsloth 1485666a23 Ambient music fixes (#17685) 2023-06-27 21:28:51 +10:00
metalgearsloth 0c83642c5a Add ambient music (#16829) 2023-05-29 10:44:11 +10:00
metalgearsloth 5449835bba Fix audio occlusion (#10538) 2022-08-11 19:53:28 -07:00
metalgearsloth b8e6e713d3 Call SoundSystem instead 2021-08-11 19:29:06 +10:00
metalgearsloth 3a4adfa410 Fix audio occlusion
This was previously being done on every SoundComponent.
2021-08-11 19:20:49 +10:00