Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Accepted audio file formats in QML programs for iOS



  • Hi all,

    Do you agree that in practice the only accepted file format in a QML project to work on iOS is .wav?

    For other formats like .mp3 or .aac even on Mac, I get this error:
    QSoundEffect(qaudio): Error decoding source


  • Lifetime Qt Champion

    Hi,

    No I don't. The QSoundEffect documentation states exactly that it can play uncompressed audio format to achieve low latency.

    If you want to play mp3 files then QMediaPlayer is what you want to use.



  • @SGaist

    No I don't. The QSoundEffect documentation states exactly that it can play uncompressed audio format to achieve low latency.

    I meant for soundEffect.

    Thanks for your answer.


Log in to reply