From 6eacfddf17f0b407bb6bb5ab3f0189135acf0ba4 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Mon, 1 Nov 2010 14:04:30 +0000 Subject: [PATCH] fix 'adiomix' ;) in audioplayer git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@878 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/c9b6dd030fa973b6e71903d7f35416172ceef0d8 Author: Jacek Jendrzej Date: 2010-11-01 (Mon, 01 Nov 2010) Origin message was: ------------------ -fix 'adiomix' ;) in audioplayer git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@878 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/gui/audioplayer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/audioplayer.cpp b/src/gui/audioplayer.cpp index 9de97006e..07798a402 100644 --- a/src/gui/audioplayer.cpp +++ b/src/gui/audioplayer.cpp @@ -237,7 +237,7 @@ CAudioPlayerGui::~CAudioPlayerGui() m_radiolist.clear(); m_filelist.clear(); m_title2Pos.clear(); - g_Zapit->setStandby (false); +// g_Zapit->setStandby (false); g_Sectionsd->setPauseScanning (false); } @@ -298,8 +298,8 @@ int CAudioPlayerGui::exec(CMenuTarget* parent, const std::string &) if (usedBackground) m_frameBuffer->saveBackgroundImage(); - // set zapit in standby mode - g_Zapit->stopPlayBack(); + // set zapit in lock mode + g_Zapit->lockPlayBack(); videoDecoder->ShowPicture(DATADIR "/neutrino/icons/mp3.jpg"); @@ -327,10 +327,10 @@ int CAudioPlayerGui::exec(CMenuTarget* parent, const std::string &) if (system(AUDIOPLAYER_END_SCRIPT) != 0) perror("Datei " AUDIOPLAYER_END_SCRIPT " fehlt. Bitte erstellen, wenn gebraucht.\nFile " AUDIOPLAYER_END_SCRIPT " not found. Please create if needed.\n"); + g_Zapit->unlockPlayBack(); // Start Sectionsd g_Sectionsd->setPauseScanning(false); videoDecoder->StopPicture(); - CNeutrinoApp::getInstance()->handleMsg( NeutrinoMessages::CHANGEMODE , m_LastMode ); g_RCInput->postMsg( NeutrinoMessages::SHOW_INFOBAR, 0 );