undid previous change

This commit is contained in:
fgerlits 2005-07-31 13:53:35 +00:00
parent 22a511feff
commit 644c547cb1

View file

@ -22,7 +22,7 @@
Author : $Author: fgerlits $ Author : $Author: fgerlits $
Version : $Revision: 1.65 $ Version : $Revision: 1.66 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/gLiveSupport/src/GLiveSupport.cxx,v $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/gLiveSupport/src/GLiveSupport.cxx,v $
------------------------------------------------------------------------------*/ ------------------------------------------------------------------------------*/
@ -1019,6 +1019,7 @@ GLiveSupport :: stopCueAudio(void)
throw (std::logic_error) throw (std::logic_error)
{ {
if (cueItemPlayingNow) { if (cueItemPlayingNow) {
cuePlayer->close();
releaseCueAudio(); releaseCueAudio();
cuePlayerIsPaused = false; cuePlayerIsPaused = false;
} }
@ -1033,7 +1034,6 @@ GLiveSupport :: releaseCueAudio(void)
throw (std::logic_error) throw (std::logic_error)
{ {
if (cueItemPlayingNow) { if (cueItemPlayingNow) {
cuePlayer->close();
try { try {
switch (cueItemPlayingNow->getType()) { switch (cueItemPlayingNow->getType()) {
case Playable::AudioClipType: case Playable::AudioClipType: