Hi Phil,
As you hinted, the issue probably lies in the fact that Tee sink is not enabled (despite that I uncommented "#define TEE_SINK and re-compiled the library). Is there any file, other than libaudioflinger.so, that I should copy to the target emulator?
Another thing is that as a complete newbie to android library building, I am not sure whether or not am I doing the process correctly. If I use the stock android emulator (let's say Nexus 4 API 23), the steps I take are:
- cd to the directory containing the file I have changed (and that has Android.mk file)
- execute lunch and select the device configuration (in my case aosp_x68-eng)
- execute mma to build the module and its dependencies
This finishes successfully and after that I just push the output libaudioflinger.so file onto the device. Is this the correct way to build?
Thank you for your help.