Releases: Vurv78/WebAudio
WebAudio v0.7.1
- Fixed client error presumably when someone created a webaudio and immediately left before they could be networked to you
- Unwhitelisted discord til either facepunch allows you to remove the steam http header from
HTTP()
or discord unblocks steam's auth headers.
WebAudio v0.7.0
Added a compatibility layer (enabled with wa_sc_compat 1
) that adds all of the functions from streamcore to E2, except using WebAudio as a backend.
Essentially what I already did here as an E2 Library, just internally
WebAudio v0.6.3
- Added liveatc.net to the whitelist
- Fixed an error where a client having an error sending the error to the server would not decrease the webaudio counter, leaving players without any slots left to use webaudio without rejoining.
- Rewrote inner code to use a hook system on webaudio destruction instead of hacking in the e2 stream counter.
v0.6.2
-
Add runtime
@strict
only errors if you try and use xwa method functions on an invalid object -
Fix issue where WebAudio messages wouldn't go through in the same tick for a client. This would sometimes leave webaudios alive on your client while they were purged on the server.
-
Remove e2 preprocessor usage for e2 core, allowing for linting and a simpler ci.
WebAudio v0.6.1
- Added wa_display to show webaudios, their owners and ids
- Made wa_purge also exist on the
SERVER
- Fixed parenting not working
WebAudio v0.6.0
- Added WebAudio:Set3DEnabled & WebAudio:Get3DEnabled, to make sound "flat" inside of the radius where it will play on the client and 3D functions won't do anything.
- Added webaudio:set3DEnabled & webaudio:get3DEnabled for E2
- Nerfed wa_radius_max to 4,000 units by default. 10k was fine with volume scaling but will definitely be an issue without it.
- Make streams default play on the chip if never used with setPos(), so you can now just do webAudio("Sound"):play().
- Make 3D Audio not fizzle out after such a short distance (with magic numbers)
- Use DistToSqr instead of Distance in volume calculation as an optimization
WebAudio v0.5.2
-
Fix webaudio not properly calling into the stopwatch when started / stopped: Have no idea what I was thinking when I didn't do this, maybe just forgot or something. Was half a year ago so..
-
Fixed setTime not working for some streams: Turns out dont_decode actually breaks a lot of stuff :l, either way there's a networking cooldown so it shouldn't be an issue.
There also seems to be problems with SetTime, but chances are it's a garrysmod issue. Hate how horrible bass streams are in gmod..
WebAudio v0.5.1
- Functions that previously returned null values now work with
@strict
and throw exceptions if enabled. - Additionally the functions that previously hard-errored e.g. webAudio() if whitelist was disabled now throw a soft exception that you can catch with
try
. - Added undocumented webAudioCanTransmit to make sure you won't error with play, pause, update etc functions. (Although you should just handle the exception instead)
Fixed #39
WebAudio v0.5.0
-
Added I/O for WebAudio streams
-
Replaced regular limits with burst limits (You can now create multiple streams in one tick, network multiple times in one tick, etc)
-
Added toString(wa) and wa:toString()
-
Added debugger format for webaudio streams that
-
Fix internal stopwatch errors in lua api if stream is invalid with GetTimeElapsed and GetState
-
Changed limit between webaudio creation and net sends to burst limits. You can now automatically create all of your streams at once
-
Fixed if(nowebaudio()) being true since we changed how null webaudios are represented
WebAudio v0.4.4
- Added wa_list
- Added wa_help