From 22a511feff24dfb94e5b77b4590de449f861a19f Mon Sep 17 00:00:00 2001 From: fgerlits Date: Sun, 31 Jul 2005 12:31:41 +0000 Subject: [PATCH] moved cuePlayer->close() to releaseCueAudio, to make sure it always gets called --- livesupport/products/gLiveSupport/src/GLiveSupport.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/livesupport/products/gLiveSupport/src/GLiveSupport.cxx b/livesupport/products/gLiveSupport/src/GLiveSupport.cxx index e1b757e52..0b2394aa9 100644 --- a/livesupport/products/gLiveSupport/src/GLiveSupport.cxx +++ b/livesupport/products/gLiveSupport/src/GLiveSupport.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.64 $ + Version : $Revision: 1.65 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/gLiveSupport/src/GLiveSupport.cxx,v $ ------------------------------------------------------------------------------*/ @@ -1019,7 +1019,6 @@ GLiveSupport :: stopCueAudio(void) throw (std::logic_error) { if (cueItemPlayingNow) { - cuePlayer->close(); releaseCueAudio(); cuePlayerIsPaused = false; } @@ -1034,6 +1033,7 @@ GLiveSupport :: releaseCueAudio(void) throw (std::logic_error) { if (cueItemPlayingNow) { + cuePlayer->close(); try { switch (cueItemPlayingNow->getType()) { case Playable::AudioClipType: