feat & improvements & refactor: new structure, better garbage collection, better docs, better performance, added tests

This commit is contained in:
2026-05-23 19:26:59 +02:00
parent 966db49e37
commit 6962d87f24
18 changed files with 1462 additions and 513 deletions
+19
View File
@@ -0,0 +1,19 @@
export class AudioManagerError extends Error {
public constructor(message: string) {
super(message);
this.name = new.target.name;
}
}
export class AudioManagerConfigError extends AudioManagerError {}
export class AudioManagerStateError extends AudioManagerError {}
export class FfmpegProcessError extends AudioManagerError {
public constructor(
message: string,
public readonly cause?: unknown,
) {
super(message);
}
}