Regulate Android AudioTrack playback speed
问题 I'm currently trying to playback audio using AudioTrack. Audio is received over the network and application continuously read data and add to an internal buffer. A separate thread is consuming data and using AudioTrack to playback. Problems: Audio playback fluctuate (feels like audio drop at a regular interval) continuously making it unclear. Playback speed is too high or too low making them unrealistic. In order to avoid the network latency and other factors I made the application to wait