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

qtmultimedia with alsa. A lot of problems.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 5.14.0 Beta2
    • Multimedia
    • None
    • Linux/X11, Linux/Other display system

    Description

      I built Qt with the -no-pulseaudio option. That is, as I understand it, now qtmultimedia should use alsa as a backend and pulseaudio is no longer needed. But when I run my application that uses the qml SoundEffect object, strange things come up:
      1. If pulseaudio is not installed in the system or if it is installed, but autospawn is disabled for the client, then when I call the play () slot, there is no sound and in the console I see the following message:
      ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

      What does it mean? To work with alsa directly, pulseaudio is not needed. For this, I built Qt with the -no-pulseaudio option!
      2. If I enable autospawn for pulseaudio, there is sound, but when I call play (), I see the following messages in the console:
      ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occured

      3. And more. Very strange and unpleasant effect. When a SoundEffect is created dynamically, gui freezes for a while. And this happens even if I use incubateObject instead of createObject.

      Attachments

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

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            vladimir_sazonov Vladimir Sazonov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes