Audio capture to Speex file
Products: Video Capture SDK .Net
Focused on voice compression, Speex is an open-source, patent-free audio format. It's well-suited for internet telephony and voice communication, offering features like variable bitrate encoding and noise suppression, making it a popular choice for VoIP applications.
Sample code
Set sample Speex settings and apply them as output format.
var speexOutput = new SpeexOutput();
// ...
// apply Speex settings
// ...
VideoCapture1.Output_Format = speexOutput;
Set audio capture mode.
VideoCapture1.Mode = VideoCaptureMode.AudioCapture;
Set the file name.
VideoCapture1.Output_Filename = "output.speex";
Start capture (sync or async).
await VideoCapture1.StartAsync();
Required redists
Visit our GitHub page to get more code samples.