Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small fixes #269

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
bin/
licenses.go
vendor
.vscode
noisetorch
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "c/rnnoise"]
path = c/rnnoise
url = https://github.com/xiph/rnnoise
[submodule "c/c-ringbuf"]
path = c/c-ringbuf
url = https://github.com/dhess/c-ringbuf
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ release: rnnoise
go run scripts/signer.go -s
git describe --tags > bin/version.txt
rnnoise:
git submodule update --init --recursive
$(MAKE) -C c/ladspa
1 change: 1 addition & 0 deletions c/c-ringbuf
Submodule c-ringbuf added at 203756
4 changes: 2 additions & 2 deletions c/ladspa/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
default:
$(CC) -Wall -Werror -O2 -c -fPIC ../ringbuf.c ../rnnoise/*.c module.c
default:
$(CC) -I ../rnnoise/include -Wall -Werror -O2 -c -fPIC ../c-ringbuf/ringbuf.c ../rnnoise/src/*.c module.c
$(CC) -o rnnoise_ladspa.so *.o -shared -Wl,--version-script=export.txt -lm
4 changes: 2 additions & 2 deletions c/ladspa/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#include "ladspa.h"
#include "utils.h"

#include "../ringbuf.h"
#include "../rnnoise/rnnoise.h"
#include "../c-ringbuf/ringbuf.h"
#include "../rnnoise/include/rnnoise.h"

#define SF_INPUT 0
#define SF_OUTPUT 1
Expand Down
347 changes: 0 additions & 347 deletions c/ringbuf.c

This file was deleted.

Loading