function aufilt_setup's return value is always 0 #3734
-
|
Hello. I was wondering why the function, aufilt_setup, in audio.c always returns a 0. It is clear from the function that it could return the value of the int, err. Also there are several locations in the code that call the function, aufilt_setup, and fault if the value returned is not zero. I am wondering if this is an intentional change because an error from aufilt_setup was breaking the audio setup. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
This is a good question. In git log we see that it's always been like this, since the first commit. As a consequence the call will not fail if the initialization of any audio filter fails. There are warnings, not more. If there is no need for a change then we should not risk to break any running installations. |
Beta Was this translation helpful? Give feedback.
This is a good question. In git log we see that it's always been like this, since the first commit.
As a consequence the call will not fail if the initialization of any audio filter fails. There are warnings, not more. If there is no need for a change then we should not risk to break any running installations.