文件名称:Qt 播放Wav音频文件
文件大小:4KB
文件格式:RAR
更新时间:2019-05-17 04:11:56
QSoundEffect
Qt使用QSoundEffect来播放wav文件 附官方说明:This class allows you to play uncompressed audio files (typically WAV files) in a generally lower latency way, and is suitable for "feedback" type sounds in response to user actions (e.g. virtual keyboard sounds, positive or negative feedback for popup dialogs, or game sounds). If low latency is not important, consider using the QMediaPlayer class instead, since it supports a wider variety of media formats and is less resource intensive.
【文件预览】:
Qt_Play_Music_QsoundEffect
----widget_play_music.cpp(479B)
----widget_play_music.h(410B)
----Qt_Play_Music.pro(431B)
----Qt_Play_Music.pro.user(18KB)
----main.cpp(197B)
----widget_play_music.ui(1KB)