diff options
author | Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com> | 2012-07-05 13:28:23 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-09 04:50:05 +0200 |
commit | f9a3b9b00fbd92072c72bf1cb0de7052f12d93d3 (patch) | |
tree | 46a497f48e80cd4ad07b3afd754359ca74ea6e8f | |
parent | 7fb95fe3e2252c6ba9c08889a52ca644c43c2e67 (diff) |
Gst audio input: use autoaudiosrc as default device
Currently pulsesrc element is selected if it's installed,
even if pulseaudio is not used.
Change-Id: I7e23e647767116955e24e3681155f9cb5f6d8574
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
-rw-r--r-- | src/gsttools/qgstreameraudioinputendpointselector.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gsttools/qgstreameraudioinputendpointselector.cpp b/src/gsttools/qgstreameraudioinputendpointselector.cpp index 1f9abd7be..8ee6c3e9f 100644 --- a/src/gsttools/qgstreameraudioinputendpointselector.cpp +++ b/src/gsttools/qgstreameraudioinputendpointselector.cpp @@ -103,6 +103,11 @@ void QGstreamerAudioInputEndpointSelector::update() { m_names.clear(); m_descriptions.clear(); + + //use autoaudiosrc as the first default device + m_names.append("default:"); + m_descriptions.append(tr("System default device")); + updatePulseDevices(); updateAlsaDevices(); updateOssDevices(); |