This commit is contained in:
Roman Drozd committed 2020-05-20 16:56:53 +02:00
1 parent ddd8c36c67
commit 81d4b015bc
2 files changed
+1 -3

No files matched your search

+1 -1
View File
@@ -1074,7 +1074,7 @@ export default class RoomClient
{ {
if (volume < this._hark.lastVolume) if (volume < this._hark.lastVolume)
{ {
volume = this._hark.lastVolume - Math.pow((volume - this._hark.lastVolume)/(100 + this._hark.lastVolume),4)*2; volume = this._hark.lastVolume - Math.pow((volume - this._hark.lastVolume)/(100 + this._hark.lastVolume), 4)*2;
} }
this._hark.lastVolume = volume; this._hark.lastVolume = volume;
store.dispatch(peerVolumeActions.setPeerVolume(this._peerId, volume)); store.dispatch(peerVolumeActions.setPeerVolume(this._peerId, volume));
-2
View File
@@ -1,5 +1,3 @@
class AudioAnalyzer extends EventEmitter class AudioAnalyzer extends EventEmitter
{ {