Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. qtmultimedia with alsa. A lot of problems.
Forum Updated to NodeBB v4.3 + New Features

qtmultimedia with alsa. A lot of problems.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 383 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vladimir Sazonov
    wrote on last edited by Vladimir Sazonov
    #1

    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!

    1. 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

    2. 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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved