Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
LoadSoundFast method 
 
Remarks 
 
Loads a song from the specified file. 
 
This method acts exactly as the LoadSound method but performs a less detailed analysis for files in MP3 format: the use of this method is indicated when you need an immediate loading of MP3 files from a network. 
 
 
Syntax 
 
[Visual Basic] 
control.LoadSoundFast
nPlayer as Integer
strFileName as String 
 
[C++] 
short control.LoadSoundFast
short nPlayer
LPCTSTR strFileName 
);
 
 
Parameter
Description
 
 
nPlayer
Number representing the zero-based index of the player that will load the sound
strFilename
String containing the name of the song file to load. It can be a full path name (ex. c:\mysounds\sound.mp3) or a filename (ex: sound.mp3) if the SoundsDirectory property has already been specified.
 
 
Return value 
 
Value
Meaning
 
 
enumErrorCodes.NOERROR (0)
The song file has been loaded successfully.
Negative value
An error occurred: see the LastError property for further error details or for a list of the possible error values.
 
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents