You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error codes returned are non-negative which confuses them with valid results.
Make sure the error code returned is inverted and hence negative.
Fixeslibsndfile#78
Error codes returned are non-negative which confuses them with valid results.
Make sure the error code returned is inverted and hence negative.
Fixes#78
src_get_channels
is supposed to "Returns negative on error, positive channel count otherwise"But the implementation directly returns an error code which is positive. See https://github.com/erikd/libsamplerate/blob/2647fd9bac5f11f24b5f1ee55806671f81520f66/src/samplerate.c#L312 and https://github.com/erikd/libsamplerate/blob/2647fd9bac5f11f24b5f1ee55806671f81520f66/src/common.h#L64
Hence
src_get_channels(NULL)
returns2 [channels]
which is wrongThe text was updated successfully, but these errors were encountered: