|
|
| SoundInput (QObject *parent=nullptr) |
|
| ~SoundInput () |
| | Destructs the SoundInput object.
|
| Q_SLOT void | start (QAudioDevice const &, int framesPerBuffer, AudioDevice *sink, AudioDevice::Channel=AudioDevice::Mono) |
| | Starts audio input from the specified device.
|
|
Q_SLOT void | suspend () |
| | Suspends audio input.
|
|
Q_SLOT void | resume () |
| | Resumes audio input.
|
|
Q_SLOT void | stop () |
| | Stops audio input.
|
|
Q_SIGNAL void | error (QString message) const |
|
Q_SIGNAL void | status (QString message) const |
◆ start()
| void SoundInput::start |
( |
QAudioDevice const & | device, |
|
|
int | framesPerBuffer, |
|
|
AudioDevice * | sink, |
|
|
AudioDevice::Channel | channel = AudioDevice::Mono ) |
Starts audio input from the specified device.
- Parameters
-
| device | The QAudioDevice to use for input. |
| framesPerBuffer | The number of frames per buffer. |
| sink | The AudioDevice sink to write audio data to. |
| channel | The audio channel configuration (Mono or Stereo). |
The documentation for this class was generated from the following files: