内容表

上一话题

AudioEngine 范例

下一话题

音频输出范例

音频输入范例

Recording audio using the QAudioInput 类。

Audio Input demonstrates the basic use cases of QAudioInput .

../_images/audioinput-example.png

Qt provides the QAudioInput class to enable audio functionality within a standard application user interface.

This example calculates the maximum linear value of the input audio from the microphone and displays the output.

运行范例

要运行范例从 Qt Creator ,打开 欢迎 模式,然后选择范例从 范例 . For more information, visit Building and Running an Example.

范例工程 @ code.qt.io