|
@@ -982,7 +982,7 @@ fileprivate extension WSSCoolVoiceSubtitleController {
|
|
if progress >= 1.0 {
|
|
if progress >= 1.0 {
|
|
stopExportDisplayLink()
|
|
stopExportDisplayLink()
|
|
}
|
|
}
|
|
- showProgressCancelHub(progress: progress * 0.5, status: "合成中...")
|
|
|
|
|
|
+ showProgressCancelHub(progress: progress * 0.5, status: "正在合成...")
|
|
}
|
|
}
|
|
|
|
|
|
func setupMixAudioExportDisplayLink() {
|
|
func setupMixAudioExportDisplayLink() {
|
|
@@ -1006,7 +1006,7 @@ fileprivate extension WSSCoolVoiceSubtitleController {
|
|
|
|
|
|
@objc func updateMixAudioProgress() {
|
|
@objc func updateMixAudioProgress() {
|
|
guard let progress = mixAudioExportSeesion?.progress else { return }
|
|
guard let progress = mixAudioExportSeesion?.progress else { return }
|
|
- showProgressCancelHub(progress: 0.9 + progress * 0.1, status: "合成中...")
|
|
|
|
|
|
+ showProgressCancelHub(progress: 0.9 + progress * 0.1, status: "正在合成...")
|
|
if progress >= 1.0 {
|
|
if progress >= 1.0 {
|
|
stopMixAuiodExportDisplayLink()
|
|
stopMixAuiodExportDisplayLink()
|
|
}
|
|
}
|
|
@@ -1079,7 +1079,7 @@ fileprivate extension WSSCoolVoiceSubtitleController {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
effectExport?.perFrameProcessingCallback = { progress in
|
|
effectExport?.perFrameProcessingCallback = { progress in
|
|
- showProgressCancelHub(progress: 0.5 + (0.4 * progress), status: "合成中...")
|
|
|
|
|
|
+ showProgressCancelHub(progress: 0.5 + (0.4 * progress), status: "正在合成...")
|
|
}
|
|
}
|
|
effectExport?.outputFilter.addTarget(movieWriter!)
|
|
effectExport?.outputFilter.addTarget(movieWriter!)
|
|
movieWriter?.startRecording()
|
|
movieWriter?.startRecording()
|