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

Audio type loops infinitely when loops is set on Mac

    XMLWordPrintable

Details

    • macOS
    • ee50d9a38689c2d56d530ef41f94ee0f6844b571 (qt/qtmultimedia/5.14)

    Description

      User informed us that he has tested Audio and SoundEffect types "loops" attribute and on Audio when set the audio clip will be repeated infinitely.

          Audio
          {
              // Audio should only loop 3 times but it plays repeatedly
              id: audioExample
              source: "qrc:/example.wav"
              loops: 3
          }
      
          SoundEffect
          {
              // SoundEffect properly plays 3 times
              id: seExample
              source: "qrc:/example.wav"
              loops: 3
          }

      Qt support has tested this on Windows and on macOS.

      On Windows the Audio example plays three times.

      On macOS the Audio example keeps repeating without end.

       

      Example project attached.

      Attachments

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            tero.pelkonen Tero Pelkonen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: