| 190 | } |
| 191 | |
| 192 | int PlaybackFileBoard::stop_stream () |
| 193 | { |
| 194 | if (keep_alive) |
| 195 | { |
| 196 | keep_alive = false; |
| 197 | for (std::thread &streaming_thread : streaming_threads) |
| 198 | { |
| 199 | streaming_thread.join (); |
| 200 | } |
| 201 | streaming_threads.clear (); |
| 202 | return (int)BrainFlowExitCodes::STATUS_OK; |
| 203 | } |
| 204 | else |
| 205 | { |
| 206 | return (int)BrainFlowExitCodes::STREAM_THREAD_IS_NOT_RUNNING; |
| 207 | } |
| 208 | } |
| 209 | |
| 210 | int PlaybackFileBoard::release_session () |
| 211 | { |
nothing calls this directly
no outgoing calls
no test coverage detected