-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.6.2
-
None
-
Gentoo;
ALSA 1.0.21;
Qt 4.6.2;
QAudioOutput seems to always use the default output device.
I ran into this issue with my own implementation but checked and it even happens with the straightforward Audio Output example from the QAudioOutput documentation.
In my case:
My system has two audio devices: The integrated sound card (HDA Intel, STAC92xx as reported by ALSA) and a USB headset (Sennheiser USB Headset).
QtMultimedia correctly displays both (default:CARD=Intel and default:CARD=Headset) but no matter which one is chosen the output is always played through the systems default output device.
Everything works as expected when using aplay or audacity (portaudio).
Looking at qaudiooutput_alsa_p.cpp I am a bit confused - it seems like anything after the ":" is discarded anyways so only "default" remains...?