Commit Graph
39 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 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 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
lunarcleint 1d745f3519 testing webhook >:D 2025-02-18 13:13:59 -07:00
Ne_Eo 57799107a5 Optimize Lime Timers 2024-09-05 22:49:50 +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
✞Hoovy✞andGitHub af76191d7d fix for lime 8.1.0 (#212) 2023-11-03 19:08:27 +01:00
lunarcleint a6de27c5de ummm new dark mode code 2023-04-21 17:55:24 -07:00
NeeEoo c4a50908d4 Support for 50 minute songs (html5 untested))
Experimental support for 3+ hour long songs comes later
2023-01-13 04:22:00 +01:00
Yoshman29 235b8c6838 HAHA IT WAS POSSIBLE AFTER ALL 2022-10-15 13:05:07 +02:00