我正在使用下面的代码找到可用的params组合来创建AudioRecord对象。
public static AudioRecord findAudioRecord() {
for (int rate : new int[]{8000, 11025, 16000, 22050, 44100}) {
for (int audioFormat : new int[]{
AudioFormat.ENCODING_DEFAULT,
AudioFormat.ENCODING_PCM_16BIT,
每当我试图运行Perl程序时遇到错误,我就卡住了。
install_driver(ODBC) failed: Can't load '/usr/local/lib64/perl5/auto/DBD/ODBC/ODBC.so' for module DBD::ODBC: libodbc.so.1: cannot open shared object file: No such file or directory at /usr/lib64/perl5/DynaLoader.pm line 200.
at (eval 4) line 3
Compilation faile