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

The volume property of SoundEffect should be type real with range 0.0 to 1.0, instead type int with range 0 and 100

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 1.1.0
    • 1.1.x
    • Multimedia
    • None
    • c177b9c110246d7e59d02c65e9471c5260b9cdaa

    Description

      Qt Multimedia Audio element volume property can have values between 0.0 and 1.0 whereas SoundEffect volume property can have integer values between 0 and 100, creating inconsistency and thus usability problem for developers accessing Qt Multimedia APIs.

      Also, the SoundEffect element API documentation should mention the range constrains like the Audio element: "This property holds the volume of the audio output, from 0.0 (silent) to 1.0 (maximum volume)".
      http://doc.qt.nokia.com/qt-mobility-snapshot/qml-soundeffect.html#volume-prop

      Attachments

        Activity

          People

            ling.hu@nokia.com Ling Hu (closed Nokia identity) (Inactive)
            jpetrell Joona Petrell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: