From c30864295385fe10e431ca8cb5611c4eacbd941379f802d5f9da1d71c4e798f4 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Wed, 17 Dec 2025 11:50:02 +0300 Subject: [PATCH] Update Opus --- build | 8 ++++++-- doc/INSTALL | 7 +++++-- internal/version.go | 2 +- makedist | 1 - 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/build b/build index 4372d1a..0c44425 100755 --- a/build +++ b/build @@ -1,9 +1,13 @@ #!/bin/sh -e -opus=opus-1.5.2 +opus=opus-1.6 +[ -e $opus.tar.gz ] || { + echo fetch https://downloads.xiph.org/releases/opus/opus-1.6.tar.gz >&2 + exit 1 +} if ! [ -d local/lib ] ; then rm -fr local $opus - tar xf $opus.tar + tar xf $opus.tar* cd $opus ./configure --prefix=$(realpath ..)/local \ --enable-deep-plc \ diff --git a/doc/INSTALL b/doc/INSTALL index 325f354..fb1c53d 100644 --- a/doc/INSTALL +++ b/doc/INSTALL @@ -7,7 +7,7 @@ Decoder.SetComplexity call, that is required for ML-related optimisations. => https://opus-codec.org/ libopus => https://wiki.hydrogenaud.io/index.php?title=Opus Opus improvements => https://github.com/hraban/opus gopkg.in/hraban/opus.v2 -=> https://opus-codec.org/demo/opus-1.5/ ML-related optimisations +=> https://opus-codec.org/demo/opus-1.6/ ML-related optimisations Audio recording and playback is done through external utilities, capable of reading/writing raw audio samples from stdin/stdout. SoX'es rec and @@ -16,12 +16,15 @@ them with -rec and -play options to vors-client. => https://sourceforge.net/projects/sox/ SoX - $ version=6.0.0 + $ version=6.3.0 $ [fetch|wget] http://www.vors.stargrave.org/download/vors-$version.tar.zst $ [fetch|wget] http://www.vors.stargrave.org/download/vors-$version.tar.zst.sig [verify signature] + $ [fetch|wget] https://downloads.xiph.org/releases/opus/opus-1.6.tar.gz + $ [ "$(sha512 opus-1.5.2.tar rm -rf .git makedist find . -type d -exec chmod 755 {} + find . -type f -exec chmod 644 {} + -- 2.52.0