From 9e80b9d0aca5140399d356633d9b097fe7eed91f Mon Sep 17 00:00:00 2001 From: FrancoisGrondin Date: Fri, 28 Jul 2017 20:52:31 -0400 Subject: [PATCH] Sign fixed for separation --- src/system/track2shift.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.34.1