File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -288,6 +288,7 @@ class SonicPiAPI
288
288
289
289
const std::string& GetGuid () const ;
290
290
291
+
291
292
virtual bool TestAudio ();
292
293
293
294
// Get a unique path
@@ -354,13 +355,13 @@ class SonicPiAPI
354
355
355
356
enum State
356
357
{
357
- Start ,
358
+ Reset ,
358
359
Initializing,
359
360
Invalid,
360
361
Created,
361
362
Error
362
363
};
363
- State m_state = State::Start ;
364
+ State m_state = State::Reset ;
364
365
uint64_t m_startServerTime;
365
366
APISettings m_settings;
366
367
};
Original file line number Diff line number Diff line change @@ -325,8 +325,8 @@ void SonicPiAPI::Shutdown()
325
325
LOG (INFO, " Boot Daemon socket not found so no need to close..." );
326
326
}
327
327
328
- m_state = State::Start ;
329
- LOG (INFO, " API State set to: Start ..." );
328
+ m_state = State::Reset ;
329
+ LOG (INFO, " API State set to: Reset ..." );
330
330
331
331
}
332
332
You can’t perform that action at this time.
0 commit comments