Audio/Music: Remove unnecessary code

Play() blocks until the thread (and source) has started
This commit is contained in:
SirLynix 2023-12-03 15:30:39 +01:00
parent 0137bd1871
commit 73fc061412
1 changed files with 1 additions and 7 deletions

View File

@ -218,13 +218,7 @@ namespace Nz
std::lock_guard<std::recursive_mutex> lock(m_sourceLock);
SoundStatus status = m_source->GetStatus();
// To compensate any delays (or the timelaps between Play() and the thread startup)
if (m_streaming && status == SoundStatus::Stopped)
status = SoundStatus::Playing;
return status;
return m_source->GetStatus();
}
/*!