Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-91210

warning when move QAudioOutput to other thread

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.2
    • Multimedia
    • None
    • Linux/X11

    Description

      When executing the start () method of QAudioOutput that is a member of an object that has been moved to another thread, the warning QObject :: startTimer: Timers cannot be started from another thread is displayed.

      Analyzing the QAudioOutput's constructor code I noticed that QAudioDeviceFactory does not attach the parent, as a result of moving to another thread the only QAudioOutput member is not moved, causing the warning.

      I attached a simple project to illustrate.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtmultimediateam Qt Multimedia Team
            gustavoferreira Gustavo Ferreira
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes