From: FrancoisGrondin Date: Sat, 29 Jul 2017 00:52:31 +0000 (-0400) Subject: Sign fixed for separation X-Git-Url: http://kyz.pub/gitweb/?a=commitdiff_plain;h=9e80b9d0aca5140399d356633d9b097fe7eed91f;p=yn%2Fyn-odas.git Sign fixed for separation --- diff --git a/src/system/track2shift.c b/src/system/track2shift.c index 87cac52..8e1c4b9 100644 --- a/src/system/track2shift.c +++ b/src/system/track2shift.c @@ -42,7 +42,7 @@ tracks->array[iSep * 3 + 1] * obj->mics[iChannel * 3 + 1] + tracks->array[iSep * 3 + 2] * obj->mics[iChannel * 3 + 2]; - shifts->array[iSep * obj->nChannels + iChannel] = (((float) obj->fS) / obj->c) * dist; + shifts->array[iSep * obj->nChannels + iChannel] = -1.0f * (((float) obj->fS) / obj->c) * dist; }