We found both ToneGenerator and SoundPool used fast track. But from my investigation, the fast track is not helpful to shorten the audio play latency for such short sounds. Below is the picture I drew for fast Mixer. All fast track audios were still dumped to codec through buffers in AudioFlinger and ALSA.
*Audio latency = one period latency in AudioFlinger + Alsa latency.* It is same as that on ICS. So what the fast track for? The second question is the libstagefright not use recording trigger feature, so that SoundRecorder.apk can still record Music sound, correct? Why didn't add this feature to libstagefright? Looking forward to your kindly answers. -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
