Skip to content

Commit

Permalink
修改demo中调用。
Browse files Browse the repository at this point in the history
Change-Id: I75c60364d9bba1b6d5a5095d24764d5fbbb24c8b
  • Loading branch information
SundoggyNew committed Apr 3, 2024
1 parent 29bc587 commit 09a3b82
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -758,8 +758,8 @@ class VideoPreviewActivity : VideoBaseActivity(), EventView, TextureView.Surface
}

override fun onInfoAudioPcmData(mp: IMediaPlayer?, arrPcm: ByteArray?, length: Int) {
if (audioRecordUtil != null && length > 0 && speakAble) {
audioRecordUtil.setPlayerPcmData(arrPcm);
}
// if (audioRecordUtil != null && length > 0 && speakAble) {
// audioRecordUtil.setPlayerPcmData(arrPcm);
// }
}
}

0 comments on commit 09a3b82

Please sign in to comment.