moved cuePlayer->close() to releaseCueAudio, to make sure it always gets
called
This commit is contained in:
parent
29d2143cad
commit
22a511feff
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue