Reduce number of symbols provided by library?
This is the complete list of symbols provided by the library:
% nm ./.libs/librnnoise.a |awk '/ T / {print $3}'|sort
_celt_autocorr
celt_fir
celt_iir
_celt_lpc
celt_pitch_xcorr
compute_band_corr
compute_band_energy
compute_dense
compute_gru
compute_rnn
interp_band_gain
opus_fft_alloc
opus_fft_alloc_arch_c
opus_fft_alloc_twiddles
opus_fft_c
opus_fft_free
opus_fft_free_arch_c
opus_fft_impl
opus_ifft_c
pitch_downsample
pitch_filter
pitch_search
remove_doubling
rnnoise_create
rnnoise_destroy
rnnoise_get_frame_size
rnnoise_get_size
rnnoise_init
rnnoise_model_free
rnnoise_model_from_file
rnnoise_process_frame
%
All the rnnoise_* symbols look good, but what about the rest? They might cause symbol conflicts with users of the library. Perhaps all exported symbols should have the rnnoise_ prefix?