Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-9766

QAudioOutput always uses default output device

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 4.6.3
    • 4.6.2
    • Multimedia
    • 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...?

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            korbatit Kurt Korbatits (closed Nokia identity) (Inactive)
            bedahr Peter Grasch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes