|
@@ -97,6 +97,20 @@ public class BFRecordExport {
|
|
|
// voice.voiceType = VOICETYPT.None.rawValue
|
|
|
voice.volumeGain = 100
|
|
|
voiceList.append(voice)
|
|
|
+ }else{
|
|
|
+ //
|
|
|
+ for mod in itemModel.voiceStickers {
|
|
|
+ let sticker = PQEditVisionTrackMaterialsModel()
|
|
|
+ sticker.model_in = 0
|
|
|
+ sticker.out = mod.endTime - mod.startTime
|
|
|
+ sticker.timelineIn = totalDur + mod.startTime
|
|
|
+ sticker.timelineOut = totalDur + mod.endTime
|
|
|
+ sticker.aptDuration = sticker.out
|
|
|
+ sticker.duration = sticker.out
|
|
|
+ sticker.locationPath = mod.wavFilePath
|
|
|
+ sticker.volumeGain = 100 // Float64(model.volume)
|
|
|
+ voiceList.append(sticker)
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
let sticker = splitBaseMaterial(timelineIn: totalDur, model_in: 0, duration: duration)
|