Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我第一次使用 ALSA 并看到错误:
pcm_plug.c:67: snd_pcm_plug_close: 断言 `plug->gen.slave == plug->req_slave' 失败。
当我尝试关闭 PCM 时会发生这种情况:
snd_pcm_close(pcm);
什么可能导致此错误?
原来是我不小心打snd_pcm_close了两次电话。删除第二个调用修复了失败。
snd_pcm_close