aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2025-05-23 23:37:04 +0200
committerDaniil Cherednik <dan.cherednik@gmail.com>2025-05-23 23:37:04 +0200
commita1911e3bd20b4b61eafedd90aade918682b2b4bb (patch)
tree84921eadb8d70ae779567f9f6a401809f42e968c /src
parent511e806e9e7fecc340e36f782ef5c89d56447109 (diff)
downloadatracdenc-a1911e3bd20b4b61eafedd90aade918682b2b4bb.tar.gz
[AT3P] Update libgha. Experiment with upsample frame during GHA.
This should improve accuracy of sinusoid extraction in case when frequency in subband placed just before Nyquist frequency. Note: we still unable to handle situation with low frequency in subband which reuired much more samples for analysis.
Diffstat (limited to 'src')
-rw-r--r--src/atrac/at3p/at3p_gha.cpp1
m---------src/lib/libgha0
2 files changed, 1 insertions, 0 deletions
diff --git a/src/atrac/at3p/at3p_gha.cpp b/src/atrac/at3p/at3p_gha.cpp
index 2f20940..5d42a8c 100644
--- a/src/atrac/at3p/at3p_gha.cpp
+++ b/src/atrac/at3p/at3p_gha.cpp
@@ -114,6 +114,7 @@ public:
, Stereo(stereo)
{
gha_set_max_magnitude(LibGhaCtx, 32768);
+ gha_set_upsample(LibGhaCtx, 1);
if (!StaticInited) {
ff_atrac3p_init_dsp_static();
diff --git a/src/lib/libgha b/src/lib/libgha
-Subproject 8829fb91811130a25fb6cb59e11ede0a6155f17
+Subproject c90d2edd9c75dc2fa10e628b9e265ffe97f9a17