Changeset 1889

Show
Ignore:
Timestamp:
Fri Jan 27 13:52:24 2006
Author:
fgerlits
Message:

sample code for ticket #1613*

Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/livesupport/src/modules/playlistExecutor/src/GstreamerPlayerTest.cxx

    r1660 r1889  
    273 273     CPPUNIT_ASSERT(!player->isPlaying());  
    274 274  
      275     // test playing on ALSA after playing on OSS  
      276     player->close();  
      277     CPPUNIT_ASSERT(player->setAudioDevice("plughw:0,0"));  
      278     CPPUNIT_ASSERT_NO_THROW(  
      279         player->open("file:var/test-short.mp3")  
      280     );  
      281     player->start();  
      282     while (player->isPlaying()) {  
      283         TimeConversion::sleep(sleepT);  
      284     }  
      285     CPPUNIT_ASSERT(!player->isPlaying());  
    275 286  
    276 287     player->close();