Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Multimedia
  4. Qtmultimedia 6.5 no audio devices (linux, alsa)

Qtmultimedia 6.5 no audio devices (linux, alsa)

Scheduled Pinned Locked Moved Unsolved Qt Multimedia
2 Posts 2 Posters 544 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.
  • C Offline
    C Offline
    Ctirad.F
    wrote on last edited by
    #1

    Hello,

    I'd like to port my software from Qt5 to Qt6, but I found some issues with audio devices in Qtmutlimedia.

    I need to list all (alsa) devices in the system and then leave user to choose the preffered one, but there are no devices returned using QMediaDevices::audioOutputs(). Same for input devices.

    My first and general question is what do I need to make it work? Is gstreamer enough or do I need to have Qtmultimedia compiled with lowlevel (in this case alsa) drivers enabled as well? The binary distributions I tried seem to have this support disabled and I'm not able to build qtmultimedia with alsa enabled.

    The second question is about pulseaudio which somewhat does work but returns only a default system device instead of all available ones.
    Any advice is welcome.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      talksik
      wrote on last edited by talksik
      #2

      Were you able to find a solution to this? Currently stuck on this.

      I see my soundcard when doing aplay -l and arecord -l. I am also able to play audio with gst-launch-1.0 playbin. Alsamixer shows me an entire array of controls.

      However, Qt doesn't seem to recognize this.

      1 Reply Last reply
      0
      • Nhan NguyenN Nhan Nguyen moved this topic from General and Desktop on

      • Login

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