Topic: DirectShow: the audio escapes forward
There is unpretentious video a player on DirectShow. Became on the basis of the found examples on the Internet. It is made elementarily. The graph on the basis of a file is under construction and is automatically lost in VMRWindowless. To it it is made in the form of a pause, start-up, changes of speed of playback, etc. But here if video has not time to be read out, the audio escapes far forward. Synchronization is as a result lost. An example. Video should be lost with 50 fps, but with 5 fps. As a result monstrous - the audio plays without pauses, but video brakes. What it is necessary to make (better with examples and it is better on Delphi) that in case of such loss of synchronization, the audio would be braked while the necessary frame of video does not arrive in the graph? Let the sound will be and to be interrupted, but not to escape forward. Video frames is not desirable. It Is necessary for implementation of similarity of operation of video editors. There just such functional - audio is played back with jerks if is not in time for video frames. Rummaged all Internet, but and did not find, how it to make. PS. Video source is in the virtual file system (AviSynth), therefore such logs.