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.
我正在使用 tinyalsa 库来使用 mmap 实现音频捕获。但在程序本身开始时,我收到 Xrun 错误,即 pcm_wait() 中的溢出。我尝试改变缓冲区大小和周期,但我认为它无法从声卡缓冲区中读取。
有没有关于如何正确使用 tinyalsa 的 mmap 功能的教程。甚至是 Alsa pcm mmap 教程?
考虑以下创建 XML 文档并显示它的简单代码。
XmlDocument xml = new XmlDocument(); XmlElement root = xml.CreateElement("root"); xml.AppendChild(root); XmlComment comment = xml.CreateComment("Co