From 616f9f48155706e1983a25add35231c4d75405a1 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Tue, 8 Feb 2022 07:53:46 +0700 Subject: [PATCH] use `pulse_stream` for local audio --- program/music.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/music.py b/program/music.py index 4c3337e..1fe9a84 100644 --- a/program/music.py +++ b/program/music.py @@ -168,7 +168,7 @@ async def play(c: Client, m: Message): dl, HighQualityAudio(), ), - stream_type=StreamType().local_stream, + stream_type=StreamType().pulse_stream, ) add_to_queue(chat_id, songname, dl, link, "Audio", 0) await suhu.delete()