当前位置: 动力学知识库 > 问答 > 编程问答 >

how to achieve audio preloading in qt

问题描述:

I'm trying to use QMediaPlayer and QMediaList to play streaming audio. I want to add an audio preloading feature to my application, but I have no idea how to do it.

I have several questions here.

  • When does the audio loading happended? Does it happened when calling QMediaPlayer.play or QMediaList.addMedia?
  • Do QMediaPlayer or QMediaList do preloading in their implementations?
  • If QMeidaPlayer and QMediaList haven't implemented preloading, what can I do to add this feature? Does Qt support any methods to do audio loading outside qt but do audio playing in it?

分享给朋友:
您可能感兴趣的文章:
随机阅读: