Add explicit disposability to Inputs (#126)

This commit is contained in:
Vanilagy
2025-09-21 20:18:59 +02:00
parent 34c01fbb10
commit 608c769a7e
22 changed files with 479 additions and 116 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ export class WaveDemuxer extends Demuxer {
const blockSize = this.audioInfo.blockSizeInBytes;
this.dataSize = Math.floor(this.dataSize / blockSize) * blockSize;
this.tracks.push(new InputAudioTrack(new WaveAudioTrackBacking(this)));
this.tracks.push(new InputAudioTrack(this.input, new WaveAudioTrackBacking(this)));
})();
}