Property ALCommonPlayer.TALCommonPlayer.RestartOnNewFile

From Mitov Wiki Doc
Jump to: navigation, search

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: TALCommonPlayer

Contents

Syntax

Delphi:

property RestartOnNewFile : Boolean read FRestartOnNewFile write FRestartOnNewFile default True;

C++ Builder:

__property bool RestartOnNewFile = { read=FRestartOnNewFile, write=FRestartOnNewFile, default=True };

Summary

Send Stop/Start notification when switching files.

Description

If set to true a start and stop commands will be sent to the filters when changing the file to be played.

When set to false, if the new file has the same format the streaming will continue without interruption. This allows multiple audio files to be merged together.


Delphi example:

ALWavePlayer1.RestartOnNewFile := True;

C++ Builder example:

ALWavePlayer1->RestartOnNewFile = true;

Visual C++(MFC/Win32) example:

ALWavePlayer1.RestartOnNewFile = true;

Visual C++/CLI example:

waveLogger1->RestartOnNewFile = true;

C# example:

waveLogger1.RestartOnNewFile = true;

VB example:

WaveLogger1.RestartOnNewFile = True

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox