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

SoundEffect plays slower/faster after source is changed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.11.1
    • 5.6.0
    • Multimedia
    • None
    • Windows 10

    Description

      With this code:
      import QtQuick 2.0
      import QtMultimedia 5.6

      SoundEffect

      { id: sound }

      // later in the code in some QML element:
      onSomeEvent:

      { sound.source = pathToNewSound + ".wav" sound.play(); }

      On first call of onSomeEvent the sound plays correctly. On another calls of onSomeEvent, the sound plays faster/slower (probably depending on whether the first/previous sound was longer/shorter than this one).

      Attachments

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

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            gaminn gaminn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes