xiongyihui / speexdsp-python

Speex Echo Canceller Python Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error about Type Error

TiranoGreatLand opened this issue · comments

您好,我在使用EchoCanceller处理音频时,报出如下错误:
TypeError: in method 'EchoCanceller_process', argument 2 of type 'std::string const &'

我按照您目录里的test读取音频来处理,运行到
in_data = echo_canceller.process(in_data, out_data)
这一行代码时报出如上所示的错误。

你应该是在用python3吧,刚添加了python3的bytes数据支持,升级一下应该可以用了。