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

[Windows] QAudioDevice isFormatSupported no longer working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.8.2, 6.9.0, 6.9.1
    • Multimedia
    • None
    • Windows mingw
    • Windows
    • 34e2f81598e635ed5f4153d473b408f6e8891e4e

      I use libsndfile to decode audio files and feed them to a QIODevice got from QAudioSink::start.

      This has been working up to Qt 6.8.1 (and like 20 versions before) but no longer working since Qt 6.8.2. This is happening only on Windows.

      Basically the call to QAudioDevice::isFormatSupported always returns false and pushing data setting QAudioDevice::preferredFormat doesn't produce any audio output.

        1. devices_output.txt
          5 kB
          Massimo Callegari
        2. devices.zip
          4.39 MB
          Massimo Callegari
        3. image-2025-04-17-12-59-34-699.png
          15 kB
          Massimo Callegari
        4. image-2025-04-17-13-01-54-537.png
          16 kB
          Massimo Callegari
        5. image-2025-04-17-13-08-08-344.png
          14 kB
          Massimo Callegari
        6. image-2025-04-17-13-08-50-548.png
          11 kB
          Massimo Callegari
        7. image-2025-06-19-18-46-04-316.png
          15 kB
          Massimo Callegari
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            timblechmann tim blechmann
            mcallegari79 Massimo Callegari
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes