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

Document how recentlyAudibleChanged and setMuted interact.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.7.0
    • 5.7
    • WebEngine
    • None
    • 7dde2a0d8b65f963268f9bacbcb96601ac34327b

    Description

      Points to document:
      1) After calling setMuted(true), recentlyAudibleChanged signals will still be emitted.

      2) recentlyAudibleChanged gets emitted for Flash plugin audio as well (probably for all PPAPI plugins)

      3) If a page contains 2 videos, and each one is started in sequence, recentlyAudibleChanged gets emitted only once for whichever video generates sound first.
      After both videos are stopped, recentlyAudibleChanged gets emitted when the last audio sound is generated.
      Put another way, the signal is emitted whenever any kind of sound is generated / or is completely silent within a page, regardless of how many audio streams there might be.

      4) Possibly document that spurious signal emissions will happen.
      E.g. when sound is stopped, recentlyAudibleChanged gets emitted with a value of "true" first, and then with a value of false.
      When audio starts playing, the signal is emitted twice with a value of true.

      Attachments

        For Gerrit Dashboard: QTBUG-52971
        # Subject Branch Project Status CR V

        Activity

          People

            leenam Leena Miettinen
            alexandru.croitor Alexandru Croitor
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes