mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-02 05:13:50 +02:00
Implement PCM encoders
This commit is contained in:
+1
-1
@@ -103,7 +103,7 @@ export class BufferTargetWriter extends Writer {
|
||||
|
||||
async finalize() {
|
||||
this.ensureSize(this.pos);
|
||||
this.target.buffer = this.bytes.subarray(0, Math.max(this.maxPos, this.pos));
|
||||
this.target.buffer = this.buffer.slice(0, Math.max(this.maxPos, this.pos));
|
||||
}
|
||||
|
||||
async close() {}
|
||||
|
||||
Reference in New Issue
Block a user