Copyright © 2001-2018 MultiMedia Soft

DelayedPlayback.ListAddItemByDateEx method

Previous pageReturn to chapter overviewNext page

Remarks

 

Adds a song (item) to the list of delayed playbacks.

 

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

 

 

Syntax

 

[Visual Basic]

control.DelayedPlayback.ListAddItemByDateEx (

nPlayer as Integer,

strPathname as String,

nYear as Long,

nMonth as Long,

nDay as Long,

nHour as Long,

nMinute as Long,

nSecond as Long,

nStartPos as Long,

nEndPos as Long,

nLoopCount as Long,

nFadeInLength as Long,

nFadeOutLength as Long

) as enumErrorCodes


 

[C++]

short control.DelayedPlayback.ListAddItemByDateEx (

short nPlayer,

LPCTSTR strPathname,

long nYear,

long nMonth,

long nDay,

long nHour,

long nMinute,

long nSecond,

long nStartPos,

long nEndPos,

long nLoopCount,

long nFadeInLength,

long nFadeOutLength

);


 

 

Parameter

Description

 

 

nPlayer

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