Skip to content

Commit 169cfcb

Browse files
author
xianing
committed
adapt 3.5.0
1 parent 5203f19 commit 169cfcb

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

macOS/APIExample/Examples/Advanced/RawAudioData/RawAudioData.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,14 @@ extension RawAudioData: AgoraAudioDataFrameProtocol{
333333
return .record
334334
}
335335

336+
func isMultipleChannelFrameWanted() -> Bool {
337+
return false
338+
}
339+
340+
func onPlaybackAudioFrame(beforeMixingEx frame: AgoraAudioFrame, channelId: String, uid: UInt) -> Bool {
341+
return true
342+
}
343+
336344
func getMixedAudioParams() -> AgoraAudioParam {
337345
let param = AgoraAudioParam()
338346
param.channel = 1

0 commit comments

Comments
 (0)