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

update rnnoise_create signature #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

mihai3
Copy link

@mihai3 mihai3 commented Jan 5, 2023

rnnoise_create requires a parameter since xiph/rnnoise@231b9c0. The parameter denotes the model to use; NULL can be used as default.

If this parameter is not added, mysterious segfaults occur: xiph/rnnoise#69 (comment)

Example:

0x00007fffec1308de in compute_dense (layer=0x0, output=output@entry=0x7fffffff3c90, input=input@entry=0x7fffffff4cd0) at src/rnn.c:85

rnnoise_create requires a parameter since 231b9c02 (2019-05-29).
the parameter denotes the model to use; NULL can be used as default.

if this parameter is not added, mysterious segfaults occur:
xiph/rnnoise#69 (comment)
@csana23
Copy link

csana23 commented Feb 5, 2023

Adding None as argument to the rnnoise_create method solves the Segmentation fault problem. Great tip!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants