The audio thread writes decoded PCM to a SourceDataLine and acts as the master A/V clock; video frames are now paced against that shared clock so audio and video stay in sync.
The audio thread writes decoded PCM to a SourceDataLine and acts as the master A/V clock; video frames are now paced against that shared clock so audio and video stay in sync.