From 29deebd07a928886a096166a6f8fcdb4df315f0d Mon Sep 17 00:00:00 2001 From: xross Date: Mon, 19 Feb 2018 10:56:47 +0000 Subject: [PATCH 1/4] Scripted changelog update --- CHANGELOG.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d244d665..07975666 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,8 +5,8 @@ lib_xua Change Log ----- * ADDED: Application note AN00246 - * RESOLVED: Runtime exeption issues when incorrect feedback calculated (introduced in sc_xud - 6.13) + * RESOLVED: Runtime exeption issues when incorrect feedback calculated + (introduced in sc_xud 6.13) 0.1.1 ----- From bc91e21189f6a0fe8e548a879dc13bfee75e233c Mon Sep 17 00:00:00 2001 From: xross Date: Mon, 19 Feb 2018 11:32:15 +0000 Subject: [PATCH 2/4] Typos only --- CHANGELOG.rst | 2 +- lib_xua/src/core/buffer/decouple/decouple.xc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 07975666..c4bcf904 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,7 +5,7 @@ lib_xua Change Log ----- * ADDED: Application note AN00246 - * RESOLVED: Runtime exeption issues when incorrect feedback calculated + * RESOLVED: Runtime exception issues when incorrect feedback calculated (introduced in sc_xud 6.13) 0.1.1 diff --git a/lib_xua/src/core/buffer/decouple/decouple.xc b/lib_xua/src/core/buffer/decouple/decouple.xc index aaf74386..f0b3c41e 100644 --- a/lib_xua/src/core/buffer/decouple/decouple.xc +++ b/lib_xua/src/core/buffer/decouple/decouple.xc @@ -492,7 +492,7 @@ __builtin_unreachable(); speedRem &= 0xffff; /* This patches up the case where the FB is well off, leading to totalSampsToWrite to also be off */ - /* This can be startup case, back mclk input etc */ + /* This can be startup case, bad mclk input etc */ if (totalSampsToWrite < 0 || totalSampsToWrite * g_curSubSlot_In * g_numUsbChan_In > g_maxPacketSize) { totalSampsToWrite = 0; From 0afcb6d65c23a9939e8acd6d8fafa873b6bbc43d Mon Sep 17 00:00:00 2001 From: xross Date: Mon, 19 Feb 2018 14:36:17 +0000 Subject: [PATCH 3/4] Fixes #39 --- lib_xua/src/core/buffer/decouple/decouple.xc | 1 + 1 file changed, 1 insertion(+) diff --git a/lib_xua/src/core/buffer/decouple/decouple.xc b/lib_xua/src/core/buffer/decouple/decouple.xc index f0b3c41e..4e631dfb 100644 --- a/lib_xua/src/core/buffer/decouple/decouple.xc +++ b/lib_xua/src/core/buffer/decouple/decouple.xc @@ -834,6 +834,7 @@ void XUA_Buffer_Decouple(chanend c_mix_out /* Reset OUT buffer state */ SET_SHARED_GLOBAL(g_aud_from_host_rdptr, aud_from_host_fifo_start); SET_SHARED_GLOBAL(g_aud_from_host_wrptr, aud_from_host_fifo_start); + SET_SHARED_GLOBAL(aud_data_remaining_to_device, 0); /* NOTE, this is potentially usefull for UAC1 */ unpackState = 0; From 4a8ddb2e40936409baf8759508f79afc401f10f3 Mon Sep 17 00:00:00 2001 From: xross Date: Mon, 19 Feb 2018 15:01:40 +0000 Subject: [PATCH 4/4] Changelog update --- CHANGELOG.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c4bcf904..211bf644 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -7,6 +7,8 @@ lib_xua Change Log * ADDED: Application note AN00246 * RESOLVED: Runtime exception issues when incorrect feedback calculated (introduced in sc_xud 6.13) + * RESOLVED: Output sample counter reset on stream start. Caused playback + issues on some Linux based hosts 0.1.1 -----