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

Audio QML type ignores initial volume value on iOS and Mac OS X

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.5.0
    • Multimedia
    • None
    • Mac OS X 10.10 and iOS 8
    • iOS/tvOS/watchOS, macOS

      Setting an initial volume value != 1 on an Audio item gets ignored on iOS and Mac OS X, e.g.:

      Audio {
        source: "audio.mp3"
        autoPlay: true
        loops: Audio.Infinite
        volume: 0.1
      }
      

      starts playing the sound with a volume of 1 (full volume).

      Setting the volume property after the Audio item starts playback changes the volume though.

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

            ylopes Yoann Lopes
            alexleutgoeb Alex Leutgöb
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes