音頻輸齣範例

Enabling audio playback using the QAudioOutput 類。

Audio Output demonstrates the basic use cases of QAudioOutput .

This example provides a tone generator to supply continuous audio playback. The first button allows pause and resume of the playback, and the second button allows toggling between push and pull modes of operation.

運行範例

要運行範例從 Qt Creator ,打開 歡迎 模式,然後選擇範例從 範例 。更多信息,拜訪 構建和運行範例 .

範例工程 @ code.qt.io