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.
This method can only work when the recording session is started through one of the following methods: StartFromDirectSoundDevice, StartFromAsioDevice, StartFromWasapiCaptureDevice, StartFromWasapiLoopbackDevice and StartFromDjStudioMixer.
Each time an output file is switched, the CallbackForRecordersEvents delegate is invoked with the nEvent parameter set to EV_REC_OUTPUT_FILE_SWITCH.
For further details about output files switching see the How to perform a recording session tutorial.
Syntax
Return value
|