From 953ddd82e48dd206cef5ac94456549aed13b3ad5 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Fri, 17 Nov 2023 23:25:29 +0100 Subject: Updated 30 files and deleted 2976 files (automated) --- .../matrix/node_modules/matrix-js-sdk/lib/webrtc/audioContext.js.map | 1 - 1 file changed, 1 deletion(-) delete mode 100644 includes/external/matrix/node_modules/matrix-js-sdk/lib/webrtc/audioContext.js.map (limited to 'includes/external/matrix/node_modules/matrix-js-sdk/lib/webrtc/audioContext.js.map') diff --git a/includes/external/matrix/node_modules/matrix-js-sdk/lib/webrtc/audioContext.js.map b/includes/external/matrix/node_modules/matrix-js-sdk/lib/webrtc/audioContext.js.map deleted file mode 100644 index f146db3..0000000 --- a/includes/external/matrix/node_modules/matrix-js-sdk/lib/webrtc/audioContext.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"audioContext.js","names":["audioContext","refCount","acquireContext","AudioContext","exports","releaseContext","_audioContext","close"],"sources":["../../src/webrtc/audioContext.ts"],"sourcesContent":["/*\nCopyright 2022 The Matrix.org Foundation C.I.C.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\nlet audioContext: AudioContext | null = null;\nlet refCount = 0;\n\n/**\n * Acquires a reference to the shared AudioContext.\n * It's highly recommended to reuse this AudioContext rather than creating your\n * own, because multiple AudioContexts can be problematic in some browsers.\n * Make sure to call releaseContext when you're done using it.\n * @returns The shared AudioContext\n */\nexport const acquireContext = (): AudioContext => {\n if (audioContext === null) audioContext = new AudioContext();\n refCount++;\n return audioContext;\n};\n\n/**\n * Signals that one of the references to the shared AudioContext has been\n * released, allowing the context and associated hardware resources to be\n * cleaned up if nothing else is using it.\n */\nexport const releaseContext = (): void => {\n refCount--;\n if (refCount === 0) {\n audioContext?.close();\n audioContext = null;\n }\n};\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,IAAIA,YAAiC,GAAG,IAAI;AAC5C,IAAIC,QAAQ,GAAG,CAAC;;AAEhB;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,cAAc,GAAGA,CAAA,KAAoB;EAC9C,IAAIF,YAAY,KAAK,IAAI,EAAEA,YAAY,GAAG,IAAIG,YAAY,EAAE;EAC5DF,QAAQ,EAAE;EACV,OAAOD,YAAY;AACvB,CAAC;;AAED;AACA;AACA;AACA;AACA;AAJAI,OAAA,CAAAF,cAAA,GAAAA,cAAA;AAKO,MAAMG,cAAc,GAAGA,CAAA,KAAY;EACtCJ,QAAQ,EAAE;EACV,IAAIA,QAAQ,KAAK,CAAC,EAAE;IAAA,IAAAK,aAAA;IAChB,CAAAA,aAAA,GAAAN,YAAY,cAAAM,aAAA,uBAAZA,aAAA,CAAcC,KAAK,EAAE;IACrBP,YAAY,GAAG,IAAI;EACvB;AACJ,CAAC;AAACI,OAAA,CAAAC,cAAA,GAAAA,cAAA"} \ No newline at end of file -- cgit