AVMutableCompositionTrack - insertTimeRange - insertEmptyTimeRange issue

后端 未结 3 1763
感情败类
感情败类 2021-01-12 16:47

I have a strange problem: I want to generate a new sound file out of two soundfiles and silence.

sound1: 2 seconds long + silence: 2 seconds silence + sound2: 2 seco

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-12 17:15

    Still don't know what this "insertEmptyTimeRange" means. I made a work around with a "silence"-audio file which has nothing in it. I put this empty audio file between the two sound files and this does it for me. Question closed ;) (But if someone could explain this "insertEmptyTimeRange" this would be still interesting...)

提交回复
热议问题