OK, so 2nd attached log indicates that your audio device got busy and
no way to writing data timely. Then Audio Flinger just blocks there.
There might be some initialization stuff not done well in the driver,
so after you reconnect A2DP to the Android device it could recover
streaming.
Sincerely,
Michael,
I tried to implement page flipping in s3c2410fb. No luck. Performance
is worse than in case without flipping.
I suppose SurfaceFlinger uses memcpy (or similar) for double buffering
from/to "offscreen" surface(s).
If offscreen surface resides in Fb memory it's non-cached, therefore
performa
In the end, you will always have to write to non-cached memory or flush
the cache to get it to the device. There should be no performance
penalty in page flipping, but a performance increase. You should also
have a smaller memory footprint.
The typical reason for poor performance of page flipping