Update TypeScript, fix generic ArrayBufferView type errors, allow SharedArrayBuffer as input for BufferSource

This commit is contained in:
Vanilagy
2025-11-26 12:04:23 +01:00
parent f33dd4f2cd
commit 75096edb23
11 changed files with 318 additions and 478 deletions
+1 -1
View File
@@ -850,7 +850,7 @@ export const dOps = (trackData: IsobmffAudioTrackData) => {
let inputSampleRate = trackData.info.sampleRate;
let outputGain = 0;
let channelMappingFamily = 0;
let channelMappingTable = new Uint8Array(0);
let channelMappingTable: Uint8Array<ArrayBufferLike> = new Uint8Array(0);
// Read preskip and from codec private data from the encoder
// https://www.rfc-editor.org/rfc/rfc7845#section-5