IRecorder::Play Method
Description
This method initiates playback of a previously loaded session file.
Syntax
[id(0x000000CC)]
HRESULT _stdcall Play([in] long From, [in] long To);
Parameters
| Parameter | Type | Description |
|---|---|---|
From |
long | Entry of playback start. |
To |
long | Last entry to play. |
Usage Instructions
To play a recorded session, follow these steps:
- Set the Filename property with the complete path and filename of the session file (with “idx” extension)
- Call the Play method with your desired entry range
Playing Options
- Entire session: Pass 0 and the Count property minus 1, or use -1 for both parameters
- Specific track: Use the Position of the desired track as From and the Position of the next track minus 1 as To
- Last track: Set To to the Count property of the recorder minus 1
See Also
- Related properties: Filename, Count, Position