Sounds are async again
This commit is contained in:
@@ -29,8 +29,7 @@ Sound::Sound(std::shared_ptr<SoundBoardPinController> pin_controller, const uint
|
|||||||
void Sound::play()
|
void Sound::play()
|
||||||
{
|
{
|
||||||
CLOG(INFO, OUTPUT_LOGGER) << "Play Sound " << id << " " << name;
|
CLOG(INFO, OUTPUT_LOGGER) << "Play Sound " << id << " " << name;
|
||||||
//this->play_task = std::async(std::launch::async, &Sound::playTask, this);
|
this->play_task = std::async(std::launch::async, &Sound::playTask, this);
|
||||||
this->playTask();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Sound::playTask()
|
void Sound::playTask()
|
||||||
|
|||||||
Reference in New Issue
Block a user