PlayListSaveAutomation method |
|
Remarks
Saves the current playlist into the given file in PDJ format using given position unit and volume scale.
A playlist can be saved with volume automation information only if it has been loaded through the PlayListLoad or PlayListLoadSync methods, or created through the PlayListCreatEx method, having the nMode parameter set to PLAYLIST_AUTOMATION_MODE .
For further details about playlists management see the How to create and manage a playlist tutorial.
For details about using Volume Automation refer to the How to manage Volume Automation tutorial.
Syntax
[Visual Basic] Public Function PlayListSaveAutomation ( nPlayerIndex as Int16, strPathname as string, nPosUnit as enumVolumeAutomationPositionUnits nScaleType as enumVolumeScales ) as enumErrorCodes |
[C#] public enumErrorCodes PlayListSaveAutomation ( Int16 nPlayerIndex, string strPathname, enumVolumeAutomationPositionUnits nPosUnit, enumVolumeScales nScaleType ); |
[C++] public: enumErrorCodes PlayListSaveAutomation ( Int16 nPlayerIndex, string strPathname, enumVolumeAutomationPositionUnits nPosUnit, enumVolumeScales nScaleType ); |
Parameter |
Description |
||||||||||||
|
|
||||||||||||
nPlayer |
Number representing the zero-based index of the player that will own the new playlist |
||||||||||||
strPathname |
String containing the name of the output playlist file (PDJ format) |
||||||||||||
nPosUnit |
The unit used to define positions of volume points. Supported values are the following:
|
||||||||||||
nScaleType |
Volume scale type. Supported values are the following:
|
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.NOERROR (0) |
The method call was successful. |