moved cuePlayer->close() to releaseCueAudio, to make sure it always gets

called
This commit is contained in:
fgerlits 2005-07-31 12:31:41 +00:00
parent 29d2143cad
commit 22a511feff

View file

@ -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: