Changeset 152 in pacpusframework for branches/2.0-beta1/src/DBITEPlayerLib/DbtPlyTrigger.cpp
- Timestamp:
- Aug 1, 2013, 10:45:50 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0-beta1/src/DBITEPlayerLib/DbtPlyTrigger.cpp
r89 r152 21 21 , mEngine(NULL) 22 22 { 23 THREAD_ALIVE = false;24 23 } 25 24 26 25 DbtPlyTrigger::~DbtPlyTrigger() 27 26 { 27 } 28 29 void DbtPlyTrigger::addInputs() 30 { 31 // empty: no inputs 32 } 33 34 void DbtPlyTrigger::addOutputs() 35 { 36 // empty: no outputs 28 37 } 29 38 … … 46 55 void DbtPlyTrigger::startActivity() 47 56 { 48 THREAD_ALIVE = true;49 57 start(); 50 58 } … … 52 60 void DbtPlyTrigger::stopActivity() 53 61 { 54 THREAD_ALIVE = false;55 62 } 56 63 … … 62 69 #endif 63 70 64 while( THREAD_ALIVE) {71 while(isActive()) { 65 72 if (mEngine->isPlaying()) { 66 73 Q_EMIT triggerSig();
Note:
See TracChangeset
for help on using the changeset viewer.