Property: WaveFilePos


Type:

 

Integer.

     

Properties:

 

ReadOnly, available only at run time.

     

Function:

 

Get the current position of the wave file. The position is the count of bytes from the end of the header, up to the byte to be played or recorded.

     

Description:

 

Note that both WaveFilePos and WaveFileLen ignore the header on the wave file.

     

Sample Code In Visual Basic:

'The following code sets the value of the progress bar according to the current position of the Wave File.

Sub Timer1_Timer()

     Bar.Value = VoiceAngel1.WaveFilePos

End sub

¡¡