From 2e35d2804d97bdf88b4b1f568e7c020f5462f214 Mon Sep 17 00:00:00 2001 From: xross Date: Wed, 17 Jan 2018 14:24:56 +0000 Subject: [PATCH] Fixed issue where is appears ports are not resynced after an error (inspection - missing test) --- lib_xua/src/core/audiohub/xua_audiohub.xc | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/lib_xua/src/core/audiohub/xua_audiohub.xc b/lib_xua/src/core/audiohub/xua_audiohub.xc index f6df87b1..977a55fb 100755 --- a/lib_xua/src/core/audiohub/xua_audiohub.xc +++ b/lib_xua/src/core/audiohub/xua_audiohub.xc @@ -902,8 +902,6 @@ unsigned static deliver_slave(chanend ?c_out, chanend ?c_spd_out return command; } - InitPorts_slave(divide); - /* Main Audio I/O loop */ while (1) { @@ -913,14 +911,7 @@ unsigned static deliver_slave(chanend ?c_out, chanend ?c_spd_out int syncError = 0; unsigned lrval; - if (!firstIteration) - { - InitPorts_slave(divide); - } - else - { - firstIteration = 0; - } + InitPorts_slave(divide); while (!syncError) {