Copyright © 2005-2018 MultiMedia Soft

DelayedPlayback.ListAddItemByDate

Return to chapter overview

Remarks

 

Adds a song (item) to the list of delayed playbacks and predisposes its initial settings.

 

For details about management of delayed playbacks refer to the How to manage delayed playbacks tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function ListAddItem (

nPlayerIndex as Int16,

strPathname as string,

nYear as Int32,

nMonth as Int32,

nDay as Int32,

nHour as Int32,

nMinute as Int32,

nSecond as Int32,

nStartPos as Int32,

nEndPos as Int32,

nLoopCount as Int32,

nFadeInLength as Int32,

nFadeOutLength as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes ListAddItem (

Int16 nPlayerIndex,

string strPathname,

Int32 nYear,

Int32 nMonth,

Int32 nDay,

Int32 nHour,

Int32 nMinute,

Int32 nSecond,

Int32 nStartPos,

Int32 nEndPos,

Int32 nLoopCount,

Int32 nFadeInLength,

Int32 nFadeOutLength

);


 

[C++]

public: enumErrorCodes ListAddItem (

Int16 nPlayerIndex,

string strPathname,

Int32 nYear,

Int32 nMonth,

Int32 nDay,

Int32 nHour,

Int32 nMinute,

Int32 nSecond,

Int32 nStartPos,

Int32 nEndPos,

Int32 nLoopCount,

Int32 nFadeInLength,

Int32 nFadeOutLength

);


 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the involved player

strPathname

String containing the absolute pathname of the element to add. If this string is left empty, the current sound or video clip loaded into the given player will be added.

nYear

Number representing the year

nMonth

Number representing the month

nDay

Number representing the day of the month

nHour

Number representing the hour of the day

nMinute

Number representing the minute of the hour

nSecond

Number representing the second of the minute

nStartPos

Playback range start position expressed in milliseconds

nEndPos

Playback range end position expressed in milliseconds

nLoopCount

Number of loops applied to the given range

nFadeInLength

Fade-in length expressed in milliseconds

nFadeOutLength

Fade-out length expressed in milliseconds

 

 

 

Return value

 

Value

Meaning

 

 

0

An error occurred (see the LastError property for further error details)

Other values

Unique identifier of the file that will have a delayed playback