[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/runtime/phonon/xine
From: Matthias Kretz <kretz () kde ! org>
Date: 2008-04-21 16:19:30
Message-ID: 1208794770.167753.11085.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 799471 by mkretz:
remove useless, commented code
M +2 -38 backend.cpp
--- trunk/KDE/kdebase/runtime/phonon/xine/backend.cpp #799470:799471
@@ -185,15 +185,9 @@
{
case Phonon::AudioOutputDeviceType:
return XineEngine::audioOutputIndexes();
-/*
case Phonon::AudioCaptureDeviceType:
- {
- QList<AudioDevice> devlist = AudioDeviceEnumerator::availableCaptureDevices();
- foreach (AudioDevice dev, devlist) {
- list << dev.index();
- }
- }
break;
+/*
case Phonon::VideoOutputDeviceType:
{
const char *const *outputPlugins = xine_list_video_output_plugins(XineEngine::xine());
@@ -245,39 +239,9 @@
case Phonon::AudioOutputDeviceType:
ret = XineEngine::audioOutputProperties(index);
break;
- /*
case Phonon::AudioCaptureDeviceType:
- {
- QList<AudioDevice> devlist = AudioDeviceEnumerator::availableCaptureDevices();
- foreach (AudioDevice dev, devlist) {
- if (dev.index() == index) {
- ret.insert("name", dev.cardName());
- switch (dev.driver()) {
- case Solid::AudioInterface::Alsa:
- ret.insert("description", i18n("ALSA Capture Device"));
- break;
- case Solid::AudioInterface::OpenSoundSystem:
- ret.insert("description", i18n("OSS Capture Device"));
- break;
- case Solid::AudioInterface::UnknownAudioDriver:
- break;
- }
- ret.insert("icon", dev.iconName());
- ret.insert("available", dev.isAvailable());
- break;
- }
- }
- }
- switch (index) {
- case 20000:
- ret.insert("name", QLatin1String("Soundcard"));
- break;
- case 20001:
- ret.insert("name", QLatin1String("DV"));
- break;
- }
- //kDebug(610) << ret["name"];
break;
+ /*
case Phonon::VideoOutputDeviceType:
{
const char *const *outputPlugins = xine_list_video_output_plugins(XineEngine::xine());
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic