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

PulseAudio: not possible to play audio with 24 bit frames

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.10.0 Beta 1
    • 5.10.0 Alpha
    • Multimedia
    • None

    Description

      Using pulseaudio noise is heard when playing a sample with 24 bit frames.

      #include <QCoreApplication>
      #include <QSoundEffect>
      
      int main(int argc, char **argv)
      {
          QCoreApplication app(argc, argv);
      
          QSoundEffect sound;
          sound.setSource(QUrl::fromLocalFile(argv[1]));
          sound.play();
          return app.exec();
      }
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: