Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
about mpp audio record fail
#1
提示:部分应用在使用alsa-lib库中接口snd_pcm_hw_params_set_period_size_near和snd_pcm_hw_params_set_buffer_size_near时需要alsa-lib库编译时把alsa-devdir、pcm-plugins、ctl-plugins打开
debian系统默认没有打开,如需实用请重新编译alsa-lib源码,通过configure打开此功能如下:

  • 卸载原有alsa
sudo apt-get remove libasound2 --purge

  • 安装编译alsa-lib
sudo apt-get source alsa-lib sudo ./configure --with-alsa-devdir=/dev/snd --with-pcm-plugins=all --with-ctl-plugins=all --without-versioned --enable-static=no sudo make sudo make install

  • 安装编译alsa-utils
sudo apt-get source alsa-utils sudo ./configure sudo make sudo make install
Reply


Messages In This Thread
about mpp audio record fail - by ardon - 10-17-2018, 09:27 AM
RE: about mpp audio record fail - by blitzfr - 11-11-2018, 08:14 AM
RE: about mpp audio record fail - by ardon - 01-23-2019, 01:31 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)