Sven 1 anno fa
parent
commit
b15693aab3
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      .changeset/curvy-jokes-laugh.md

+ 4 - 1
.changeset/curvy-jokes-laugh.md

@@ -2,4 +2,7 @@
 "@sv443-network/userutils": major
 ---
 
-Added compression to `amplifyMedia()` to prevent audio clipping and distortion and modified return type accordingly
+Added compression to `amplifyMedia()` to prevent audio clipping and distortion and modified return type accordingly:  
+- Renamed: `amplify()` to `setGain()` and `getAmpLevel()` to `getGain()`  
+- Added properties: `enable()`, `disable()`, `setLimiterOptions()` and `limiterNode`  
+- Other changes: Amplification is no longer enabled automatically, `enable()` must now be called manually after initializing