fix: address Phase 3 review — Logger type export, PlayerEvents interface, PCM backpressure

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
saopig1andClaude Opus 4.6 committed 2026-03-30 00:37:16 +08:00
1 parent 5afc8c5224
commit 17d2decc91
3 files changed
+30 -7

No files matched your search

+3 -3
View File
@@ -7,7 +7,7 @@ import {
exportIdentity,
type TS3Identity,
} from "./identity.js";
import type pino from "pino";
import type { Logger } from "../logger.js";
export interface TS3ClientOptions {
host: string;
@@ -33,9 +33,9 @@ export class TS3Client extends EventEmitter {
private identity: TS3Identity;
private clientId = 0;
private keepAliveInterval: ReturnType<typeof setInterval> | null = null;
private logger: pino.Logger;
private logger: Logger;
constructor(private options: TS3ClientOptions, logger: pino.Logger) {
constructor(private options: TS3ClientOptions, logger: Logger) {
super();
this.logger = logger;