From 6d428d132a8729a1e272f3d7a1dea16e4dc71fc6 Mon Sep 17 00:00:00 2001 From: Yuzu Date: Sat, 17 Aug 2024 16:51:52 +0700 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20Current=20audio=20API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/player/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/player/index.ts b/src/player/index.ts index 7962810..4b069ed 100644 --- a/src/player/index.ts +++ b/src/player/index.ts @@ -127,6 +127,10 @@ export class Player { return this._stream?.information.bitrate || 0; } + public getCurrentAudioInformation() { + return this.currentAudioInformation; + } + public getQueue() { return this.queue; }