fixed the bug that the Cue player Play/Pause button stays on Pause if there is an audio player error

This commit is contained in:
fgerlits 2007-02-08 17:42:07 +00:00
parent fb6e1b709a
commit e2173a7112

View file

@ -127,8 +127,8 @@ CuePlayer :: onPlayItem(void) throw ()
if (iter) {
Ptr<Playable>::Ref playable = (*iter)[modelColumns.playableColumn];
try {
gLiveSupport->playCueAudio(playable);
setAudioState(playingState);
gLiveSupport->playCueAudio(playable);
} catch (std::runtime_error &e) {
std::cerr << "GLiveSupport::playCueAudio() error:"
<< std::endl << e.what() << std::endl;