游戏开发论坛

 找回密码
 立即注册
搜索
查看: 997|回复: 0

如何实现DirectMusic的暂停功能

[复制链接]

30

主题

146

帖子

152

积分

注册会员

Rank: 2

积分
152
发表于 2009-3-16 20:11:00 | 显示全部楼层 |阅读模式
PlaySegmentEx的flag用的是DMUS_SEGF_SECONDARY | DMUS_SEGF_REFTIME
用SetStartPoint后,PlaySegmentEx的i64StartTime设0,变成从开头放
GetTime后设置PlaySegmentEx的i64StartTime,还是不行,PlaySegmentEx报错The time is in the past, and the operation can not succeed.
到底怎么搞哦,哪位指点一下。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-20 02:30

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表