etPlay.Source Properties


Source.Buffer
Source.FileName
Source.Format
Source.MaxSize
Source.Valid
 


etPlay.Source.Buffer

ActiveX: etPlay.SourceBuffer
Edition:
Enterprise
Also see - etPlay Properties - Source.Buffer

etPlay.Source.FileName

ActiveX: etPlay.SourceFileName
Type:
String
When:
Design-Time and Run-Time
Read/Write:
Read and Write
Edition:
Standard, Professional, Enterprise
<Click here for example>

This is the path and file name of the file to be played. The file extension '.wav' is assumed if none is given.

Multiple files can be placed in this property. This allows several files to be played without a delay between each file. Each file is separated by a comma. The path of the first file is used for all files not given a path.

Example legal values:

     et
     et.wav
     c:\data\wave\et
     c:\data\wave\et.wav
     c:\data\wave\1,100,30,2,dollars,and,50,3,cents

In the following example the file "c:\data\wave\YouHave.wav" is played followed by the file "c:\data\wave\3.wav". Finally the file "c:\moredata\Mesages" is played.

     c:\data\wave\YouHave.wav,3,c:\moredata\Mesages

etPlay.Source.Format

ActiveX: etPlay.SourceFormat
Edition:
Standard, Professional, Enterprise
See etPlay.Properties - Source.Format

etPlay.Source.MaxSize

ActiveX: etPlay.SourceMaxSize
Type:
Integer
When:
Design-Time and Run-Time
Read/Write:
Read and Write
Edition:
Standard, Professional, Enterprise
This is the maximum size, in kilobytes, that the wave file can be. If etPlay.Source.FileName is larger than etPlay.Source.MaxSize, then the etPlay.OnWarning event is fired when etPlay.Device.Active is set to True.

etPlay.Source.Valid

ActiveX: etPlay.SourceValid
Type:
Boolean
When:
Run-Time
Read/Write:
Read Only
Edition:
Standard, Professional, Enterprise
This indicates whether the file defined in the etPlay.Source.FileName property is a valid wave format. This value is set after the etPlay.Source.FileName property has been set successfully.



etPlay Properties - Position etPlay Properties - Source.Format