Commit Graph
41 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 dad76201f5 use static music if possible 2025-08-02 19:40:23 +07:00
Ralty 4767bab023 Use Streamed Music for Freeplay if available 2025-08-01 19:03:51 +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 5187f4a438 Register Endianness, stuff, add option to toggle 2025-07-12 02:27:12 +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
Ne_Eo 200d8e3950 Improve shader logs 2024-11-15 11:45:42 +01:00
Rodney, An Imaginative PersonandGitHub 71b7daabbf Fixed typo. (#270)
* Fixed typo.

* Update Assets.hx
2024-05-31 17:19:11 +02:00
ee9d0d0279 final working fix :D
openfl/openfl#2700

Co-Authored-By: Ne_Eo <NeeEoo@users.noreply.github.com>
2024-03-19 21:51:00 +01:00
⍚~Nex e95e1d3dfa bugfix for +1 pixel when shaders (openfl objs)
NO MORE THAT GODDAMN +1 PIXEL ON CAMERAS WITH SHADERS
2024-03-19 02:31:27 +01:00
NeeEoo a548c74c9e Merge remote-tracking branch 'upstream/main' 2024-03-11 03:23:04 +01:00
NeeEoo eda52577c6 Forgot these 2024-03-08 20:53:47 +01:00
NeeEoo e2a8a97460 Fixed annoying scaling thing 2024-03-08 20:49:49 +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
⍚~Nex 8cabf1e31d fixing da pr
#242
and also under @NeeEoo suggestion ive deleted that string part in mainmenustate
please tell me if you find another alpha message instead of beta😭
2024-02-09 15:07:09 +01:00
NeeEoo e9db14487d Huge optimization 2023-07-21 16:28:40 +02:00
NeeEoo 1259449f84 Fixed source assets, I hate this code so much please fix later
Fixed naming convention
2023-07-19 15:38:50 +02:00
Yoshman29 06828cade7 time to break your mods again for ease of use 2023-04-18 02:13:04 +02:00
Yoshman29 11339cb3cd fixes 2023-04-17 01:49:24 +02:00
Yoshman29 9c615caddc fixed 3d and fonts 2023-04-02 14:06:22 +02:00
Yoshman29 9e64a9d9d8 dumbass openfl 2023-03-30 23:55:47 +02:00
Yoshman29 548210c51d added it as an option + possible fix?? 2023-03-26 23:36:25 +02:00
Yoshman29 6ecfb6d7d4 the magic code (experimental) 2023-03-26 22:39:53 +02:00
Yoshman29 a63e5f5958 FUCK SPACES!!!! TABS RULES!!! 💪💪💪💪 2023-03-25 22:53:47 +01:00
Yoshman29 f6a11a2472 fixed issue with texture atlases 2023-03-18 18:53:51 +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 1e7fd15371 3D testing + fixed a silly bug 2022-12-12 14:23:24 +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