QAudioCaptureSource Class ReferenceThe QAudioCaptureSource class provides an interface to query and select an audio input endpoint. More... #include <QAudioCaptureSource> Inherits QMediaObject. Public Functions
Reimplemented Public Functions
Public Slots
Signals
Additional Inherited Members
Detailed DescriptionThe QAudioCaptureSource class provides an interface to query and select an audio input endpoint. QAudioCaptureSource provides access to the audio inputs available on your system. You can query these inputs and select one to use. A typical implementation example: QAudioCaptureSource* audioSource = new QAudioCaptureSource; QMediaRecorder* recorder = new QMediaRecorder(audioSource); recorder->setOutputLocation(QUrl("test.raw")); The audiocapturesource interface is then used to: - Get and Set the audio input to use. The capture interface is then used to: - Set the destination using setOutputLocation() - Set the format parameters using setAudioCodec(), - Control the recording using record(),stop() See also QMediaRecorder. Member Function Documentation
|