1. Duplicate thread mMixBuffer
2. Get the memory available in track created in thread1, then copy to the data to the track memory , which is what the OutputTracks[i]->write() does
3. Get the memory available in track created in thread2, then copy to the data to the track memory , which is what the OutputTracks[i]->write() does
4. The pcm data will mixered into mMixBufferof thread1 , and then write to hal
5. The pcm data will mixered into mMixBufferof thread2 , and then write to hal
the flow is : 1 (mMixBuffer) will be copied to 2 and 3 , 2 passed to 4 , 3 passed to 5