Qtmultimedia 6.5 no audio devices (linux, alsa)
-
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. -
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.