Commit Graph
22 Commits
Author SHA1 Message Date
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 888f4135e9 Fix size out of bound 2025-08-01 11:58:13 +07:00
Ralty 2724c8b236 Cleanup AudioAnalyzer 2025-07-30 20:48:42 +07:00
Ralty 92ee5a280a fix SoundChannel peaks & give AudioAnalyzer desc 2025-07-27 18:49:23 +07:00
Ralty bffb147cc2 Polish AudioAnalyzer & fix 8-bit detection 2025-07-15 01:23:52 +07:00
Ralty 7f3d976ac6 Fix FlxSound not completing correctly, & callbacks 2025-07-15 01:22:53 +07:00
Ralty 17ffdcd6ef Fix AudioAnalyzer 2025-07-13 23:41:41 +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 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
BetopiaandGitHub f989a1b955 fix sound length rounding to seconds (#645) 2025-06-04 16:23:51 +02:00
⍚~Nex aee0fcb682 Merge remote-tracking branch 'dev/main' 2024-03-11 03:23:50 +01:00
Jaime Humberto Macias BustamanteandGitHub c574073523 OpenFL version compatibility fix (reopen) (#250)
* OpenFL version compatibility fix

Uses var alias "__source" on 9.2.2 or "__audioSource" on latest, in case of using latest libraries.

* Revert "OpenFL version compatibility fix"

This reverts commit aa83aee5a5.

* OpenFL Compatibility fix

Uses (compiles) "__source" or "__audioSource" variable depending of the OpenFL version, in order to not break FlxSound.

* Revert "OpenFL Compatibility fix"

This reverts commit 18a9aeddf9.

* OpenFL compatibility fix (get/set var)

(suggestion by @NeeEoo) uses an auxiliary "__audioSource" variable for usage on latest OpenFL versions, in order to not break FlxSound class.
2024-03-04 17:18:06 +01:00
NeeEoo 4002cc9534 Haxe 4.3.x now works!!! 2024-03-01 17:51:55 +01:00
Yoshman29 06828cade7 time to break your mods again for ease of use 2023-04-18 02:13:04 +02:00
Yoshman29 a63e5f5958 FUCK SPACES!!!! TABS RULES!!! 💪💪💪💪 2023-03-25 22:53:47 +01: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 83cc681251 fixed some todos 2022-11-02 03:38:42 +01:00
Yoshman29 235b8c6838 HAHA IT WAS POSSIBLE AFTER ALL 2022-10-15 13:05:07 +02:00