Starts recording so the monitored audio will be saved into the file passed as a parameter
NOTE: DXVUMeterNETGDI uses the LAME encoder to encode the PCM audio into MP3 format.
Please refer to http://www.mp3dev.org/ for more information about the LAME encoder.
Namespace: NDXVUMeterNETAssembly: DXVUMeterNETGDI (in DXVUMeterNETGDI.dll) Version: 3.0.4021.33606 (3.1.0.0)
Syntax
C# |
---|
public void StartRecording( string fileName, bool overwrite, DXVUMeterNETGDI..::..RecordingFormatConstants recordingFormat, DXVUMeterNETGDI..::..MP3EncoderConfiguration mp3EncoderConfig ) |
Visual Basic |
---|
Public Sub StartRecording ( _ fileName As String, _ overwrite As Boolean, _ recordingFormat As DXVUMeterNETGDI..::..RecordingFormatConstants, _ mp3EncoderConfig As DXVUMeterNETGDI..::..MP3EncoderConfiguration _ ) |
Visual C++ |
---|
public: void StartRecording( String^ fileName, bool overwrite, DXVUMeterNETGDI..::..RecordingFormatConstants recordingFormat, DXVUMeterNETGDI..::..MP3EncoderConfiguration^ mp3EncoderConfig ) |
Parameters
- fileName
- Type: System..::..String
The file name where the audio will be saved
- overwrite
- Type: System..::..Boolean
If set to True and the file pointed by fileName exists, the file will be overriten, otherwise, the new captured audio will be appended.
- recordingFormat
- Type: NDXVUMeterNET..::..DXVUMeterNETGDI..::..RecordingFormatConstants
The audio format for the recorded file.
- mp3EncoderConfig
- Type: NDXVUMeterNET..::..DXVUMeterNETGDI..::..MP3EncoderConfiguration
If recordingFormat is set to MP3, then this parameter specifies the format of the MP3 file