Lindeni Forum
about mpp audio record fail - Printable Version

+- Lindeni Forum (http://forum.lindeni.org)
+-- Forum: General (http://forum.lindeni.org/forumdisplay.php?fid=1)
+--- Forum: General (http://forum.lindeni.org/forumdisplay.php?fid=3)
+--- Thread: about mpp audio record fail (/showthread.php?tid=14)



about mpp audio record fail - ardon - 10-17-2018

提示:部分应用在使用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


RE: about mpp audio record fail - blitzfr - 11-11-2018

alsa-utils require ncurses. so to install it follow that :

sudo apt-get source ncurses
sudo ./configure
sudo make
sudo make install


RE: about mpp audio record fail - ardon - 01-23-2019

yes, you are right


RE: about mpp audio record fail - itzandroidtab - 09-27-2019

Thank you. This fixed the audio problems I was having with the mpp_samples