|
@@ -19,7 +19,8 @@ import Photos
|
|
|
import UIKit
|
|
|
import BFUploadKit
|
|
|
import Kingfisher
|
|
|
-
|
|
|
+import BFAnalyzeKit
|
|
|
+import BFCommonKit
|
|
|
struct WithDrawModel {
|
|
|
var type: Int // 0:拖动; 1:预览播放暂停 2: 录音结束 3: 删除录音
|
|
|
var timestamp: CMTime
|
|
@@ -2657,8 +2658,11 @@ public class BFRecordScreenController: BFBaseViewController {
|
|
|
|
|
|
func hadChoosed(music:PQVoiceModel?) {
|
|
|
bgmModel = music
|
|
|
-
|
|
|
+
|
|
|
if let model = music {
|
|
|
+
|
|
|
+ BFEventTrackAdaptor.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_musicChangerButton, pageSource: .sp_speekPage,extParams: ["musicID":bgmModel?.musicId ?? ""],commonParams: commonParams())
|
|
|
+
|
|
|
if let title = model.musicName {
|
|
|
audioSettingView.musicSlider.value = Float(model.volume)
|
|
|
// addMusicBtn.setTitle(title, for: .normal)
|