Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-942

Qml Audio plugin - setPosition function works only once

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • 1.1.0
    • 1.1.0, 1.2.0
    • Multimedia
    • None
    • Tested on Ubuntu, Mac, and Windows.

    Description

      import Qt 4.7
      import QtMultimediaKit 1.1

      Item {
      width: 200; height: 50;

      Audio

      { id: playMusic source: "test.wav" }

      Text {
      text: "Play";
      font.pointSize: 24;
      width: 100; height: 50;
      anchors.left: parent.left

      MouseArea {
      anchors.fill: parent
      onPressed:

      { playMusic.play() }

      }
      }

      Text {
      text: "Drop";
      font.pointSize: 24;
      width: 100; height: 50;
      anchors.right: parent.right

      MouseArea

      { anchors.fill: parent onPressed: playMusic.position = 1 }

      }
      }

      "Drop" works only once

      Attachments

        Activity

          People

            ling.hu@nokia.com Ling Hu (closed Nokia identity) (Inactive)
            andriyas Alexey Andriyashin (closed Nokia identity) (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: