音频驱动运行时出现问题
-
使用了一个新的内核交叉编译尝试替换到系统中去,完成后运行aplay播放音频时报出如下错误。
[ 2079.459412] sunxi-internal-cpudai cpudai: pcm_params->format:2 [ 2079.468374] sunxi-internal-cpudai cpudai: pcm_params->channels:2 [ 2079.475135] sunxi-internal-cpudai cpudai: pcm_params->rate:88200 [ 2079.481897] sunxi-internal-cpudai cpudai: pcm_params->period_size:8192 [ 2079.489245] sunxi-internal-cpudai cpudai: pcm_params->periods:4 [ 2079.495907] sunxi-internal-cpudai cpudai: pcm_params->pcm_frames:8192 [ 2079.503147] sunxi-internal-cpudai cpudai: pcm_params->buffer_size:32768 [ 2079.510587] sunxi-internal-cpudai cpudai: =========================== [ 2079.572584] sunxi-internal-cpudai cpudai: soc_substream hw_params ret_val:-22 [ 2079.580663] sunxi-internal-cpudai cpudai: ASoC: can't set cpudai hw params: -22 [ 2079.588902] sunxi-internal-cpudai cpudai: sunxi_hifi_pcm_hw_free aplay: set_params:1407: Unable to install hw params:
请问各位有没有遇到过类似问题,能否提供一个解决思路
-
已经解决,是因为alsa-util和alsa-lib不匹配造成的,音频播放异常。统一一下版本就可以了
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号