I have two c++ files.
One (AudioSystem.cpp) located at ./framework/av/media/libmedia
The other (AudioFlinger.cpp) locatet at ./framework/av/services/audioflinger
Both they share an header file
#include <system/audio.h>
I would like to create a var that is shared among the AudioFlinger.cpp and the AudioSystem.cpp.
They both should be able to modify the var value and they should see the same value.
Thanks