Linux下的.wav文件播放示例,装了QT的话先#qmake
代码说明:
Linux下的.wav文件播放示例,装了QT的话先#qmake -project生成工程文件pcm.pro,然后 #qmake pcm.pro生成Makefile,然后 #make 最后 #./pcm 执行 注意代码里面包括要播放的.wav文件的路径-Linux under. Wav file playback example, QT installed, then the first# Qmake-project to generate engineering documents pcm.pro, and then# Qmake pcm.pro generated Makefile, then# Make the final#./Pcm attention to the implementation of the code inside the including the need to play. wav file path
下载说明:请别用迅雷下载,失败请重下,重下不扣分!