temporary pseudo-fix for #1898
This commit is contained in:
parent
c7686e10c7
commit
5e5cd76b4d
1 changed files with 12 additions and 0 deletions
|
@ -1172,12 +1172,18 @@ GLiveSupport :: playOutputAudio(Ptr<Playable>::Ref playable)
|
||||||
outputItemPlayingNow = acquireAudioClip(playable->getId());
|
outputItemPlayingNow = acquireAudioClip(playable->getId());
|
||||||
outputPlayer->open(*outputItemPlayingNow->getUri());
|
outputPlayer->open(*outputItemPlayingNow->getUri());
|
||||||
outputPlayer->start();
|
outputPlayer->start();
|
||||||
|
std::cerr << "gLiveSupport: Live Mode playing audio clip '"
|
||||||
|
<< *playable->getTitle()
|
||||||
|
<< "'" << std::endl;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Playable::PlaylistType:
|
case Playable::PlaylistType:
|
||||||
outputItemPlayingNow = acquirePlaylist(playable->getId());
|
outputItemPlayingNow = acquirePlaylist(playable->getId());
|
||||||
outputPlayer->open(*outputItemPlayingNow->getUri());
|
outputPlayer->open(*outputItemPlayingNow->getUri());
|
||||||
outputPlayer->start();
|
outputPlayer->start();
|
||||||
|
std::cerr << "gLiveSupport: Live Mode playing playlist '"
|
||||||
|
<< *playable->getTitle()
|
||||||
|
<< "'" << std::endl;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default: // this never happens
|
default: // this never happens
|
||||||
|
@ -1291,12 +1297,18 @@ GLiveSupport :: playCueAudio(Ptr<Playable>::Ref playable)
|
||||||
cueItemPlayingNow = acquireAudioClip(playable->getId());
|
cueItemPlayingNow = acquireAudioClip(playable->getId());
|
||||||
cuePlayer->open(*cueItemPlayingNow->getUri());
|
cuePlayer->open(*cueItemPlayingNow->getUri());
|
||||||
cuePlayer->start();
|
cuePlayer->start();
|
||||||
|
std::cerr << "gLiveSupport: Cue playing audio clip '"
|
||||||
|
<< *playable->getTitle()
|
||||||
|
<< "'" << std::endl;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Playable::PlaylistType:
|
case Playable::PlaylistType:
|
||||||
cueItemPlayingNow = acquirePlaylist(playable->getId());
|
cueItemPlayingNow = acquirePlaylist(playable->getId());
|
||||||
cuePlayer->open(*cueItemPlayingNow->getUri());
|
cuePlayer->open(*cueItemPlayingNow->getUri());
|
||||||
cuePlayer->start();
|
cuePlayer->start();
|
||||||
|
std::cerr << "gLiveSupport: Cue playing playlist '"
|
||||||
|
<< *playable->getTitle()
|
||||||
|
<< "'" << std::endl;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default: // this never happens
|
default: // this never happens
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue