Results 1 to 1 of 1

Thread: qtmultimedia with alsa. A lot of problems.

  1. #1
    Join Date
    Mar 2017
    Qt products

    Default qtmultimedia with alsa. A lot of problems.

    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.
    Last edited by svv; 4th November 2019 at 10:18.

Similar Threads

  1. QtMultimedia on Raspbian
    By neda in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 30th May 2017, 07:11
  2. QtMultimedia not included
    By dott_infernus in forum Installation and Deployment
    Replies: 1
    Last Post: 4th April 2013, 16:05
  3. [QT5] QtMultimedia | i can`t get metadata
    By petrusPL in forum Newbie
    Replies: 0
    Last Post: 27th February 2013, 14:16
  4. Some questions about QtMultimedia
    By aguayro in forum Newbie
    Replies: 4
    Last Post: 22nd January 2013, 22:22
  5. QtMultimedia module in QT 4.5
    By vijay_kansal in forum Qt Programming
    Replies: 8
    Last Post: 12th December 2010, 11:52


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.