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

Windows: QAudioDecoder fails on qrc embedded files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.2.0
    • 5.1.1
    • Multimedia
    • None
    • Win7 64bit, running as a 32bit application. Installed with qt-windows-opensource-5.1.1-msvc2012-x86-offline.exe
    • 99c4a08c38df23fa2dd0828369f55f2ad6431d7f

    Description

      When using qAudioDecoder.setSourceDevice(":/sound.wav");
      QAudioDecoder spits out "Can't load stream without a hint of MIME type in a url" when you use a QRC embedded file such as ":/sound.wav" or ":/sound.mp3".

      When using setSourceFilename, the decoder just sits forever in silence never emitting signals.

      These same files work fine when full paths are provided "C:\BLAHBLAH\sound.wav".

      Attachments

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

        Activity

          People

            ylopes Yoann Lopes
            tvalenz Tim Valenzuela
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes