Copyright © 2005-2008 MultiMedia Soft 
Return to Table of contents  
 
GetUpdatedFormattedSoundDuration method 
 
Remarks 
 
Retrieves a string containing the updated and formatted sound duration of a song whose duration has been altered through the use of the SetTempoPerc or SetRatePerc methods. The returned string is formatted like [hh:mm:ss:ms(3)] in which hh is for hours, mm is for minutes, ss is for seconds and ms(3) are three characters representing the milliseconds. For example [04:34:200] indicates a song during 0 hours (the hours number is automatically omitted if 0), 4 minutes, 34 seconds and 200 milliseconds.  
 
The updated song duration in milliseconds can be obtained using the GetUpdatedSoundDuration method.  
 
Further details about songs mixing can be found inside the How to mix your songs section. 
 
 
Syntax 
 
[Visual Basic] 
Public Function GetUpdatedFormattedSoundDuration
nPlayerIndex as Int16 
) as String
 
[C#] 
public string GetUpdatedFormattedSoundDuration
Int16 nPlayerIndex 
);
 
[C++] 
public: string GetUpdatedFormattedSoundDuration
Int16 nPlayerIndex 
);
 
 
Parameter
Description
 
 
nPlayerIndex
Number representing the zero-based index of the involved player
 
 
Return value 
 
Value
Meaning
 
 
Empty string
An error occurred (see the LastError property for further error details)
Valid string
The formatted sound duration
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2005-2008 MultiMedia Soft 
Return to Table of contents