Commit Graph
12 Commits
Author SHA1 Message Date
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 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
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 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