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 ,打开 欢迎 模式,然后选择范例从 范例 . For more information, visit Building and Running an Example.