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 节能指南?例如...
任何地方似乎都没有任何指导方针。
如果您不播放声音,则不应消耗大量功率。问自己的好问题是:我可以测量我的功耗吗?过早优化是万恶之源,在功耗方面也是如此。
如果你不能衡量它,那么你可能会优化错误的东西。
你的目标应该是寻找任何能让你的处理器保持清醒的东西。您是在循环设置某个变量,还是在等待中断?
你多久写一次你的声音设备?您可以增加缓冲区并减少 wite 的数量吗?你的硬件会自动处理这个吗?