AudioManager  7.5.11
Native Application Runtime Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
AudioManager and CommonAPI

The audiomanager supports CommonAPI in very comfortable way. It will register CommonAPI in the audiomanager mainloop (am::CAmSocketHandler) and make threadsafe calls to the stubs registered via the factory provided by the wrapper. If enabled (by default) via cmake, the am::CAmCommonAPIWrapper is created. It is instantiated as singleton and every Plugin can use it. First, you have to create the interfaces out of the FIDL data like usual. Then, you can access the singletons via am::CAmCommonAPIWrapper::factory and am::CAmCommonAPIWrapper::runtime.

More information about CommonAPI can be found here: http://projects.genivi.org/commonapi/