文件名称:Effects
- 所属分类:
- Linux/Unix编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2015-10-07
- 文件大小:
- 18kb
- 下载次数:
- 0次
- 提 供 者:
- song*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Audio Effect Management
EffectModule and EffectChain classes both have their own mutex to protect state changes or resource modifications. Always respect the following order if multiple mutexes must be acquired to avoid cross deadlock:
AudioFlinger -> ThreadBase -> EffectChain -> EffectModule
In addition, methods that lock the AudioPolicyService mutex (getOutputForEffect(),
startOutput()...) should never be called with AudioFlinger or Threadbase mutex locked
to avoid cross deadlock with other clients calling AudioPolicyService methods that in turn
call AudioFlinger thus locking the same mutexes in the reverse order.
EffectModule and EffectChain classes both have their own mutex to protect state changes or resource modifications. Always respect the following order if multiple mutexes must be acquired to avoid cross deadlock:
AudioFlinger -> ThreadBase -> EffectChain -> EffectModule
In addition, methods that lock the AudioPolicyService mutex (getOutputForEffect(),
startOutput()...) should never be called with AudioFlinger or Threadbase mutex locked
to avoid cross deadlock with other clients calling AudioPolicyService methods that in turn
call AudioFlinger thus locking the same mutexes in the reverse order.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Effects.cpp
Effects.h