Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents  
 
 
SwitchOutputFile method 
 
Remarks 
 
During a recording session, whose output is being sent to an output file, switches to a different output file without stopping the recording session itself: in this way no sound data will be lost. 
 
This method will return an error for memory-based recording sessions or for recording sessions whose recording mode, set through the SetRecordingMode method, is different from REC_MODE_NEW. 
 
 
Syntax 
 
[Visual Basic] 
Public Function SwitchOutputFile
strOutputPath as string 
 
[C#] 
public enumErrorCodes SwitchOutputFile
string strOutputPath 
);
 
[C++] 
public: enumErrorCodes SwitchOutputFile
string strOutputPath 
);
 
 
Parameter
Description
 
 
strOutputPath
String representing the absolute pathname of the output file that will contain the recorded data. If this pathname should contain invalid characters, they would be automatically changed into an underscore '_' character..
 
 
 
Return value 
 
Value
Meaning
 
 
Negative value
An error occurred. Check the LastError property value in order to see the last error.
enumErrorCodes.ERR_NOERROR (0)
The method call was successful.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents