use pulse_stream for local audio

This commit is contained in:
levina 2022-02-08 07:53:46 +07:00 committed by GitHub
parent 245062d892
commit 616f9f4815
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,7 @@ async def play(c: Client, m: Message):
dl, dl,
HighQualityAudio(), HighQualityAudio(),
), ),
stream_type=StreamType().local_stream, stream_type=StreamType().pulse_stream,
) )
add_to_queue(chat_id, songname, dl, link, "Audio", 0) add_to_queue(chat_id, songname, dl, link, "Audio", 0)
await suhu.delete() await suhu.delete()