mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-11-30 16:02:58 +08:00
feat: mac语音转换silk格式修复
This commit is contained in:
1 parent
5acfa14475
commit
6cbf9af662
14 files changed
+970
-12
No files matched your search
@@ -0,0 +1,37 @@
|
||||
export const PERSONAL_WECHAT_PILK_VERSION = '0.2.4'
|
||||
|
||||
export type PersonalWechatVoiceEncodingEnvironmentState =
|
||||
| 'unknown'
|
||||
| 'ready'
|
||||
| 'incomplete'
|
||||
| 'unsupported'
|
||||
| 'error'
|
||||
|
||||
export interface PersonalWechatVoiceRuntimeComponent {
|
||||
ready: boolean
|
||||
version?: string
|
||||
executable?: string
|
||||
path?: string
|
||||
error?: string
|
||||
}
|
||||
|
||||
export interface PersonalWechatVoiceEncodingEnvironment {
|
||||
state: PersonalWechatVoiceEncodingEnvironmentState
|
||||
ready: boolean
|
||||
checkedAt?: string
|
||||
runtimeReady: boolean
|
||||
runtimeRoot?: string
|
||||
python: PersonalWechatVoiceRuntimeComponent
|
||||
pilk: PersonalWechatVoiceRuntimeComponent
|
||||
ffmpeg: PersonalWechatVoiceRuntimeComponent
|
||||
encoder: 'pilk' | 'go-silk' | 'unavailable'
|
||||
message: string
|
||||
}
|
||||
|
||||
export interface PersonalWechatVoiceEncodingEnvironmentResult {
|
||||
success: boolean
|
||||
environment: PersonalWechatVoiceEncodingEnvironment
|
||||
error?: string
|
||||
restarted?: boolean
|
||||
restartError?: string
|
||||
}
|
||||
Reference in new issue
Block a user