[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/multimedia/amarok/src/engine/xine
From: Martin Aumüller <aumuell () reserv ! at>
Date: 2007-01-06 14:06:14
Message-ID: 1168092374.679663.5883.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 620530 by aumuell:
stopping would not work when fadeout is disabled
M +8 -2 xine-engine.cpp
--- trunk/extragear/multimedia/amarok/src/engine/xine/xine-engine.cpp #620529:620530
@@ -381,9 +381,15 @@
m_url = KURL(); //to ensure we return Empty from state()
std::fill( m_scope.begin(), m_scope.end(), 0 );
+ }
+ else if( !m_fadeOutRunning )
+ {
+ xine_stop( m_stream );
+ xine_close( m_stream );
+ xine_set_param( m_stream, XINE_PARAM_AUDIO_CLOSE_DEVICE, 1);
+ }
- emit stateChanged( Engine::Empty );
- }
+ emit stateChanged( Engine::Empty );
}
void
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic