• 5786阅读
  • 2回复

QSound::play会不会阻塞界面呢? [复制链接]

上一主题 下一主题
离线wxyao
 

只看楼主 倒序阅读 楼主  发表于: 2011-03-15

Qt provides the most commonly required audio operation in GUI applications: asynchronously playing a sound file. This is most easily accomplished using the static play() function:
[pre] QSound::play("mysounds/bells.wav");[/pre]不是很理解,谁清楚呢,需要确认一下:-)
离线wxj120bw

只看该作者 1楼 发表于: 2011-03-15
你写个程序 看看不就行了吗?不过看文档,不会杜塞界面,使异步的执行播放
离线gangwazi
只看该作者 2楼 发表于: 2011-03-17
我用这个不能播放,求解释
快速回复
限100 字节
 
上一个 下一个