Commit Graph
61 Commits
Author SHA1 Message Date
Ralty 1b403b2ab2 oh, theres ThreadUtil 2025-11-29 11:24:39 +07:00
Ralty 162f1add75 Fix possible crashes on Threading 2025-11-27 19:14:00 +07:00
Ralty 87b825b046 apparently moving a window just breaks onUpdate 2025-11-26 20:52:56 +07:00
Ralty cd631c6eda i am a dumbass 2025-11-26 20:13:50 +07:00
Ralty eccaa77f0e So, you do not want to flush the buffers 2025-11-26 20:04:41 +07:00
Ralty 7d186d2203 Stable Streaming Audio 2025-11-26 18:43:43 +07:00
Ralty 82fb0bcf88 Stable audio_stream_async 2025-11-23 13:11:44 +07:00
Ralty e6bcb144d9 Fix really small sounds not playing 2025-11-22 20:57:10 +07:00
Ralty 44d134eed0 Fix again 2025-11-22 13:09:21 +07:00
Ralty 846f2deedb some fixes 2025-11-22 12:57:24 +07:00
Ralty 1d2a391a90 experimental audio_stream_async (disabled default) 2025-11-22 12:22:01 +07:00
Ralty 8cadcd78f6 Hopefully fixes the time parameter being 0? 2025-11-21 19:19:52 +07:00
Ralty 5d8a9c71a2 Update Audio Backend from Vs Camellia v2.75.1 (info at desc)
Before anyone asks why vs cam, the code is public, plus i helped most of the audio backend rewrite in the mod too. :P

- Static sounds can now also seamlessly loop with AL_SOFT_loop_points extension
- Panning stereo sounds is now possible with AL_EXT_STEREO_ANGLES extension (although this was already implemented before)
- Improved streaming sounds, should fix most of the lagspike issues
- Streaming sounds should no longer regenrate if it's in the nearest timestamp (not for reversing though)
! You still can't access FlxSound.latency because of the new procedures that's not available in lime

If there's any crashes with this pls report an issue asap.
2025-11-16 15:22:58 +07:00
Ralty 3a88e78cec Implement FlxSound.pan for stereo sounds 2025-11-02 15:46:42 +07:00
Ralty e17b5d6b86 Fix audio calling complete callbacks twice 2025-08-09 13:41:05 +07:00
Ralty 967bd4cf01 An attempt to fix stutters for low-end computers 2025-08-07 22:23:45 +07:00
Ralty 16b080bf84 Fix crashes on unseekable or pure empty vorbis files 2025-08-06 04:54:25 +07:00
Ralty d36c912e93 FIX AGAIN 2025-07-27 20:17:30 +07:00
Ralty 235d23a2f2 Fix UIAudioPlayer again... and AudioSource.time 2025-07-27 19:28:50 +07:00
Ralty 31e30fc6d9 Allow for vorbis files from bytes 2025-07-27 13:55:50 +07:00
Furo 9bd8ad0ad7 Merge branch 'main' into translations-system 2025-07-21 12:58:53 +02:00
Ralty 1baca2e941 Merge branch 'raltyro-audio-rewrite'
# Conflicts:
#	source/funkin/backend/system/Conductor.hx
#	source/funkin/backend/system/modules/AudioSwitchFix.hx
#	source/funkin/editors/charter/Charter.hx
#	source/funkin/options/Options.hx
2025-07-20 00:36:31 +07:00
Ralty 52184f0470 Merge remote-tracking branch 'upstream/main' into new-editors-main
# Conflicts:
# commandline/commands/Compiler.hx
# source/funkin/backend/FunkinSprite.hx
# source/funkin/backend/MusicBeatState.hx
# source/funkin/backend/MusicBeatSubstate.hx
# source/funkin/backend/chart/Chart.hx
# source/funkin/backend/chart/EventsData.hx
# source/funkin/backend/scripting/GlobalScript.hx
# source/funkin/backend/system/Controls.hx
# source/funkin/backend/system/MainState.hx
# source/funkin/backend/utils/AudioAnalyzer.hx
# source/funkin/backend/utils/CoolUtil.hx
# source/funkin/editors/character/CharacterInfoScreen.hx
# source/funkin/editors/charter/Charter.hx
# source/funkin/editors/charter/CharterSelection.hx
# source/funkin/editors/charter/CharterStrumline.hx
# source/funkin/editors/charter/CharterStrumlineButton.hx
# source/funkin/editors/charter/SongCreationScreen.hx
# source/funkin/editors/ui/UIDropDown.hx
# source/funkin/editors/ui/UIFileExplorer.hx
# source/funkin/game/Note.hx
# source/funkin/game/PlayState.hx
# source/funkin/game/SplashGroup.hx
# source/funkin/game/Stage.hx
# source/funkin/game/Strum.hx
# source/funkin/menus/FreeplayState.hx
# source/funkin/options/Options.hx
# source/funkin/options/keybinds/KeybindsOptions.hx
2025-07-19 00:57:08 +07:00
Ralty 1544d1464b Fix AudioSwitchFix again 2025-07-15 18:27:01 +07:00
Ralty 7f3d976ac6 Fix FlxSound not completing correctly, & callbacks 2025-07-15 01:22:53 +07:00
Ralty 2ead99cdf4 Fix Mismatching Audio Streamed Buffer Size 2025-07-13 21:10:42 +07:00
Ralty e669eb32af Stable Reworked Audio
- Reworked Internal Audio to work with Streaming Vorbis Files (for now?)
- FlxSound.amplitude, FlxSound.amplitudeLeft, FlxSound.amplitudeRight, SoundChannel.leftPeak, SoundChannel.rightPeak now works. (Streamed Audio on this seems to be half-broken)
- Reworked AudioAnalyzer to work with all type of audios (hopefully) and work with Streamed Audio.
- Redo AudioSwitchFix to work in time instead of when switching states.

gosh, and all that i hope it doesnt break anything.
2025-07-13 19:56:26 +07:00
Ralty 89f862b42c Better Buffer Streamed Audio Management 2025-07-12 15:58:10 +07:00
Ralty 5187f4a438 Register Endianness, stuff, add option to toggle 2025-07-12 02:27:12 +07:00
Ralty 8b5314d66c quick fix 2025-07-12 00:46:31 +07:00
Ralty 6834216878 Disable __updatePeaks & More work in audiosource 2025-07-12 00:24:25 +07:00
Ralty 80bc6506b9 Rewrite Internal Audio Source & Fix AudioSwitchFix 2025-07-11 10:59:26 +07:00
Ralty 6cb90a66c9 FlxSound & internal rewrite & Streamed Music 2025-07-10 15:37:35 +07:00
Ne_Eo de406ff3cc Added onOpenFile to FileDialog 2025-04-04 22:33:28 +02:00
lunarcleint 1d745f3519 testing webhook >:D 2025-02-18 13:13:59 -07:00
Ne_Eo 204a151170 Merge branch 'main' into new-editors 2024-11-15 18:50:48 +01:00
Ne_Eo 82178e37a4 Merge branch 'main' into translations-system 2024-11-03 22:46:36 +01:00
Ne_Eo fd8b38930c Merge remote-tracking branch 'upstream/main' 2024-11-03 20:01:10 +01:00
crowplexusandGitHub 796d585f9c fix xdg-open in NixOS (#426)
since `/usr/bin/xdg-open` isn't an actual path in NixOS, it's actually BETTER to just invoke `xdg-open` without the full path
2024-11-03 14:01:56 +01:00
Ne_Eo 4d67576682 Optimize formatutil more 2024-10-16 20:43:33 +02:00
Ne_Eo 57799107a5 Optimize Lime Timers 2024-09-05 22:49:50 +02:00
Ne_Eo 997336a503 Optimize ObjectPool for debug 2024-08-25 13:24:16 +02:00
Ne_Eo 0dc166c601 Better building 2024-07-16 19:39:55 +02:00
Dirk-Dinkum e6a082209a working directory fix 2024-04-03 14:37:02 +02:00
NeeEoo f8b20774e3 Remove useless indentation 2024-03-16 21:15:18 +01:00
NeeEoo 4002cc9534 Haxe 4.3.x now works!!! 2024-03-01 17:51:55 +01:00
NeeEoo 1cdb7fe2f6 Fix stuff 2024-03-01 02:43:42 +01:00
NeeEoo 41b5044a55 Fixed crash when closing the game 2023-11-03 19:29:43 +01:00
✞Hoovy✞andGitHub af76191d7d fix for lime 8.1.0 (#212) 2023-11-03 19:08:27 +01:00
Yoshman29 90bc513adf downscroll if it was good 2023-04-27 18:46:29 +02:00