lsp_test_speech.cc
Go to the documentation of this file.
1 #include "lsp_test_speech.hh"
2 
3 using namespace lspTest;
4 
5 void Speech::setUp() {
6  connect();
7  speechProxy = playerc_speech_create( client, 0 );
8  CPPUNIT_ASSERT( playerc_speech_subscribe( speechProxy, PLAYER_OPEN_MODE ) == 0 );
9 }
10 
12  CPPUNIT_ASSERT( playerc_speech_unsubscribe( speechProxy ) == 0 );
13  playerc_speech_destroy( speechProxy );
14  disconnect();
15 }
16 
18  CPPUNIT_ASSERT( playerc_speech_say( speechProxy, "Test" ) == 0 );
19 }
playerc_speech_t * speechProxy
playerc_client_t * client


stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Mon Jun 10 2019 15:06:09