新增播放速率调整功能

This commit is contained in:
lyswhut
2023-02-08 18:27:35 +08:00
parent 9522e975a0
commit f809782559
27 changed files with 450 additions and 154 deletions
+5
View File
@@ -108,6 +108,11 @@ declare global {
*/
'player.isMute': boolean
/**
* 播放速率
*/
'player.playbackRate': number
/**
* 音频输出设备id
*/
+2
View File
@@ -62,6 +62,7 @@ declare namespace LX {
| LyricAction<'set_status', {
isPlay: boolean
line: number
rate: number
played_time: number
}>
| LyricAction<'set_lyric', {
@@ -71,6 +72,7 @@ declare namespace LX {
lxlrc: string | null
}>
| LyricAction<'set_offset', number>
| LyricAction<'set_playbackRate', number>
| LyricAction<'set_play', number>
| LyricAction<'set_pause'>
| LyricAction<'set_stop'>