mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Hide more symbols from rnnoise
This commit is contained in:
parent
e30e4dd22f
commit
2b330fc5cd
30
third-party/rnnoise/BUILD
vendored
30
third-party/rnnoise/BUILD
vendored
@ -1,3 +1,29 @@
|
||||
|
||||
replace_symbol_list = [
|
||||
"_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",
|
||||
]
|
||||
|
||||
objc_library(
|
||||
name = "rnnoise",
|
||||
@ -14,9 +40,7 @@ objc_library(
|
||||
"PublicHeaders",
|
||||
],
|
||||
copts = [
|
||||
"-Dcelt_iir=rnnoise_celt_iir",
|
||||
"-D_celt_autocorr=rnnoise__celt_autocorr",
|
||||
"-D_celt_lpc=rnnoise__celt_lpc",
|
||||
"-D{name}=rnnoise_{name}".format(name = name) for name in replace_symbol_list
|
||||
],
|
||||
visibility = [
|
||||
"//visibility:public",
|
||||
|
Loading…
x
Reference in New Issue
Block a user