summaryrefslogtreecommitdiffstats
path: root/src/plugins/gstreamer/qgstreameraudioinputendpointselector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/gstreamer/qgstreameraudioinputendpointselector.cpp')
-rw-r--r--src/plugins/gstreamer/qgstreameraudioinputendpointselector.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/gstreamer/qgstreameraudioinputendpointselector.cpp b/src/plugins/gstreamer/qgstreameraudioinputendpointselector.cpp
index 5ed8105be..40a2f0708 100644
--- a/src/plugins/gstreamer/qgstreameraudioinputendpointselector.cpp
+++ b/src/plugins/gstreamer/qgstreameraudioinputendpointselector.cpp
@@ -104,10 +104,8 @@ void QGstreamerAudioInputEndpointSelector::update()
{
m_names.clear();
m_descriptions.clear();
-#ifndef Q_WS_MAEMO_5
updateAlsaDevices();
updateOssDevices();
-#endif
updatePulseDevices();
if (m_names.size() > 0)
m_audioInput = m_names.at(0);
@@ -151,16 +149,11 @@ void QGstreamerAudioInputEndpointSelector::updateOssDevices()
{
QDir devDir("/dev");
devDir.setFilter(QDir::System);
-#ifndef QT_QWS_N810
QFileInfoList entries = devDir.entryInfoList(QStringList() << "dsp*");
foreach(const QFileInfo& entryInfo, entries) {
m_names.append(QLatin1String("oss:")+entryInfo.filePath());
m_descriptions.append(QString("OSS device %1").arg(entryInfo.fileName()));
}
-#else
- m_names.append("dsppcm");
- m_descriptions.append("PCM audio input");
-#endif
}
void QGstreamerAudioInputEndpointSelector::updatePulseDevices()