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

Is QMediaGaplessPlaybackControl implemented?



  • Hello,

    I am working on a media player and need audio crossfading capability. Today I noticed that crossfading exists in the QMediaGaplessPlaybackControl but whenever I request the control from my QMediaPlayer's service object the control returns NULL. Has this control actually been implemented or is it platform/media specific? Any examples of its use would be appreciated. I am developing with Qt5.2 on OSX Mavericks.

    Thanks,
    -Will



  • Hi,

    Yes it is platform specific.
    http://qt-project.org/wiki/Qt_Multimedia_Backends

    According to the source code of the avfoundation and quicktime7 multimedia backend plugins (the ones used in OSX if I am right), it is implemented in neither of them.
    The source code is located here: Src/qtmultimedia/src/plugins/qt7/mediaplayer/qt7playerservice.mm and the key method is requestControl.

    Cédric


Log in to reply