Property VLAVIPlayer.TVLAVIPlayer.AudioBuffersAhead
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Class: TVLAVIPlayer
Contents |
Syntax
Delphi:
property AudioBuffersAhead : Cardinal read FAudioBuffersAhead write SetAudioBuffersAhead default 0;
C++ Builder:
__property unsigned int AudioBuffersAhead = { read=FAudioBuffersAhead, write=SetAudioBuffersAhead, default=0 };
Summary
Number of audio buffers pre-filled.
Description
You can specify a number of audio buffers to be sent through
the AudioOutputPin before any video buffer is sent. This
feature can be used to allow enough audio buffers to be
available for playing in case of unexpected delays during the
display or processing of some video frames. Don't use this
feature if you need the audio data to be processed or
displayed in synchron with the video frames. To disable audio
pre buffering set the property to 0.
Delphi example:
VLAVIPlayer1.AudioBuffersAhead := 10;
C++ Builder example:
VLAVIPlayer1->AudioBuffersAhead = 10;
Visual C++(MFC) example:
VLAVIPlayer1.AudioBuffersAhead = 10;
Visual C++/CLI example:
aviPlayer1->AudioBuffersAhead = 10;
C# example:
aviPlayer1.AudioBuffersAhead = 10;
VB example:
AVIPlayer1.AudioBuffersAhead = 10