音頻輸齣範例

Enabling audio playback using the QAudioSink 類。

Audio Output demonstrates the basic use cases of QAudioSink .

UI with playback controls and audio output mode selection

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 ,打開 歡迎 模式,然後選擇範例從 範例 。更多信息,見 Qt Creator:教程:構建並運行 .

範例工程 @ code.qt.io