updated to reflect changes in external APIs
This commit is contained in:
parent
d58414c65e
commit
a26dfdf7ba
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: maroy $
|
Author : $Author: maroy $
|
||||||
Version : $Revision: 1.3 $
|
Version : $Revision: 1.4 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/playlistExecutor/src/Attic/AudioPlayerFactoryTest.cxx,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/playlistExecutor/src/Attic/AudioPlayerFactoryTest.cxx,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
@ -152,7 +152,7 @@ AudioPlayerFactoryTest :: simplePlayTest(void)
|
||||||
audioPlayerFactory = AudioPlayerFactory::getInstance();
|
audioPlayerFactory = AudioPlayerFactory::getInstance();
|
||||||
audioPlayer = audioPlayerFactory->getAudioPlayer();
|
audioPlayer = audioPlayerFactory->getAudioPlayer();
|
||||||
|
|
||||||
audioPlayer->playThis("file:var/test.mp3");
|
audioPlayer->open("file:var/test.mp3");
|
||||||
CPPUNIT_ASSERT(!audioPlayer->isPlaying());
|
CPPUNIT_ASSERT(!audioPlayer->isPlaying());
|
||||||
audioPlayer->start();
|
audioPlayer->start();
|
||||||
CPPUNIT_ASSERT(audioPlayer->isPlaying());
|
CPPUNIT_ASSERT(audioPlayer->isPlaying());
|
||||||
|
@ -160,5 +160,6 @@ AudioPlayerFactoryTest :: simplePlayTest(void)
|
||||||
TimeConversion::sleep(sleepT);
|
TimeConversion::sleep(sleepT);
|
||||||
}
|
}
|
||||||
CPPUNIT_ASSERT(!audioPlayer->isPlaying());
|
CPPUNIT_ASSERT(!audioPlayer->isPlaying());
|
||||||
|
audioPlayer->close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: maroy $
|
Author : $Author: maroy $
|
||||||
Version : $Revision: 1.1 $
|
Version : $Revision: 1.2 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/playlistExecutor/src/Attic/HelixEventHandlerThread.h,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/playlistExecutor/src/Attic/HelixEventHandlerThread.h,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
@ -65,7 +65,7 @@ using namespace LiveSupport::Core;
|
||||||
* A thread that checks on Helix events every once in a while.
|
* A thread that checks on Helix events every once in a while.
|
||||||
*
|
*
|
||||||
* @author $Author: maroy $
|
* @author $Author: maroy $
|
||||||
* @version $Revision: 1.1 $
|
* @version $Revision: 1.2 $
|
||||||
*/
|
*/
|
||||||
class HelixEventHandlerThread : public virtual RunnableInterface
|
class HelixEventHandlerThread : public virtual RunnableInterface
|
||||||
{
|
{
|
||||||
|
@ -121,6 +121,17 @@ class HelixEventHandlerThread : public virtual RunnableInterface
|
||||||
virtual void
|
virtual void
|
||||||
run(void) throw ();
|
run(void) throw ();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Send a signal to the runnable object.
|
||||||
|
* This function simply does nothing.
|
||||||
|
*
|
||||||
|
* @param userData user-specific parameter for the signal.
|
||||||
|
*/
|
||||||
|
virtual void
|
||||||
|
signal(int userData) throw ()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Signal the thread to stop, gracefully.
|
* Signal the thread to stop, gracefully.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue