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 $
|
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 $
|
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)
|
throw (std::logic_error)
|
||||||
{
|
{
|
||||||
if (cueItemPlayingNow) {
|
if (cueItemPlayingNow) {
|
||||||
cuePlayer->close();
|
|
||||||
releaseCueAudio();
|
releaseCueAudio();
|
||||||
cuePlayerIsPaused = false;
|
cuePlayerIsPaused = false;
|
||||||
}
|
}
|
||||||
|
@ -1034,6 +1033,7 @@ 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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue