mirror of
https://github.com/YuzuZensai/NekoMelody.git
synced 2026-01-30 12:32:55 +00:00
✨ feat: Queue management
This commit is contained in:
@@ -125,6 +125,14 @@ export class Player {
|
||||
public getCurrentSampleRate() {
|
||||
return this._stream?.information.bitrate || 0;
|
||||
}
|
||||
|
||||
public getQueue() {
|
||||
return this.queue;
|
||||
}
|
||||
|
||||
public clearQueue() {
|
||||
this.queue = [];
|
||||
}
|
||||
}
|
||||
|
||||
export function createPlayer(providers: Provider[]) {
|
||||
|
||||
Reference in New Issue
Block a user