[vlc-devel] [PATCH 1/2] contrib: add rnnoise

Tristan Matthews tmatth at videolan.org
Fri Jul 26 07:19:12 CEST 2019


Hi,

This patchset add support for RNNoise.

You can read about it here:
https://people.xiph.org/~jm/demo/rnnoise/

and test it with:
./vlc -I "dummy" https://people.xiph.org/~jm/demo/rnnoise/samples/babble_15dB.opus --audio-filter=rnnoise

Best,
Tristan

---
 contrib/src/rnnoise/rules.mak | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 contrib/src/rnnoise/rules.mak

diff --git a/contrib/src/rnnoise/rules.mak b/contrib/src/rnnoise/rules.mak
new file mode 100644
index 0000000000..ce29338e2e
--- /dev/null
+++ b/contrib/src/rnnoise/rules.mak
@@ -0,0 +1,28 @@
+# rnnoise
+
+RNNOISE_GITURL := http://github.com/xiph/rnnoise.git
+RNNOISE_GITHASH := 9acc1e5a633e0961a5895a73204df24744f199b6
+
+PKGS += rnnoise
+ifeq ($(call need_pkg,"rnnoise"),)
+PKGS_FOUND += rnnoise
+endif
+
+$(TARBALLS)/rnnoise-$(RNNOISE_GITHASH).tar.xz:
+	$(call download_git,$(RNNOISE_GITURL),,$(RNNOISE_GITHASH))
+
+.sum-rnnoise: rnnoise-$(RNNOISE_GITHASH).tar.xz
+	$(call check_githash,$(RNNOISE_GITHASH))
+	touch $@
+
+rnnoise: rnnoise-$(RNNOISE_GITHASH).tar.xz .sum-rnnoise
+	$(UNPACK)
+	$(MOVE)
+
+.rnnoise: rnnoise
+	$(RECONF)
+	cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+	cd $< && $(MAKE)
+	$(call pkg_static,"rnnoise.pc")
+	cd $< && $(MAKE) install
+	touch $@
-- 
2.20.1



More information about the vlc-devel mailing list