I am a android developer, I just read the FastMixer code of Jellybean.

I have some questions, hope you guys can answer me when you free, thanks.

 

1, If submit AudioTrack with AUDIO_OUTPUT_FLAG_FAST flag, then this Track 
can't do AudioEffect handle, right? 

I noticed that FastMixer thread handle all FastTacks without AudioEffect. 
Except mFastTracks[0], because the zero FastTrack is passed from 
MixerThread which was already through mixer and effect handled. right?

 

2, About the performance, why FastMixer is faster then before?

 If we have 20 tracks, we set 8 tracks as FastMixer, and 12 as normal 
tracks, then there are two threads to do mixer. So if we run on dual core 
CPU, then we have multithreading adventage.

 But if we have 32 tracks are all as FastTrack, then MixerThread will not 
do mixer. then there will have no multithreading adventage.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to