[DEBUG] correct windows port

This commit is contained in:
Edouard DUPIN 2016-09-27 23:17:58 +02:00
parent e0a01e4280
commit fe23d699d1

View File

@ -986,7 +986,8 @@ enum audio::orchestra::error audio::orchestra::api::Ds::abortStream() {
void audio::orchestra::api::Ds::callbackEvent() {
ethread::setName("DS IO-" + m_name);
if (m_state == audio::orchestra::state::stopped || m_state == audio::orchestra::state_stopping) {
if ( m_state == audio::orchestra::state::stopped
|| m_state == audio::orchestra::state::stopping) {
Sleep(50); // sleep 50 milliseconds
return;
}