aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/LSession.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2014-10-15 14:07:32 -0400
committerKen Moore <ken@pcbsd.org>2014-10-15 14:07:32 -0400
commit681ca0bb1f079e65f3efdc049ba990e61e4cdc45 (patch)
treeda17e1fa263b83df050f4a7c5604fc7e98626fa1 /lumina-desktop/LSession.cpp
parentAdd a quick check to the Lumina init routine: Have it check for the Lumina sh... (diff)
downloadlumina-681ca0bb1f079e65f3efdc049ba990e61e4cdc45.tar.gz
lumina-681ca0bb1f079e65f3efdc049ba990e61e4cdc45.tar.bz2
lumina-681ca0bb1f079e65f3efdc049ba990e61e4cdc45.zip
Make sure to "fully" disable the Phonon usage in LSession: It appears some commit re-enabled it.
Diffstat (limited to 'lumina-desktop/LSession.cpp')
-rw-r--r--lumina-desktop/LSession.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/lumina-desktop/LSession.cpp b/lumina-desktop/LSession.cpp
index 876db93a..fb99ef27 100644
--- a/lumina-desktop/LSession.cpp
+++ b/lumina-desktop/LSession.cpp
@@ -77,20 +77,6 @@ void LSession::setupSession(){
appmenu = new AppMenu();
settingsmenu = new SettingsMenu();
- /*//Setup the audio output systems for the desktop
- qDebug() << " - Initialize audio systems";
- mediaObj = new Phonon::MediaObject(0);
- audioOut = new Phonon::AudioOutput(Phonon::MusicCategory,0);
- qDebug() << " -- Initialize new audio thread";
- audioThread = new QThread(this);
- if(mediaObj && audioOut){ //in case Phonon errors for some reason
- qDebug() << " -- Create path between audio objects";
- Phonon::createPath(mediaObj, audioOut);
- qDebug() << " -- Move audio objects to separate thread";
- mediaObj->moveToThread(audioThread);
- audioOut->moveToThread(audioThread);
- }*/
-
//Now setup the system watcher for changes
qDebug() << " - Initialize file system watcher";
watcher = new QFileSystemWatcher(this);
@@ -302,6 +288,7 @@ void LSession::systemWindow(){
//Play System Audio
void LSession::playAudioFile(QString filepath){
//Setup the audio output systems for the desktop
+ return; //Disable this for now: too many issues with Phonon at the moment (hangs the session)
bool init = false;
if(audioThread==0){ qDebug() << " - Initialize audio systems"; audioThread = new QThread(); init = true; }
if(mediaObj==0){ qDebug() << " - Initialize Phonon media Object"; mediaObj = new Phonon::MediaObject(); init = true;}
bgstack15