#include <QCoreApplication> #include<QAudioFormat> #include<QAudioOutput> #include<QIODevice> #include<QThread> #include <QFile> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); QAudioFormat fmt; fmt.setSampleRate(44100); //采样率 fm...