DevMaster.net Forums
[[ Home | Forums | 3D Engines Database | Wiki | Articles/Tutorials | Game Dev Jobs | IRC Chat Network | Contact Us ]]

Go Back   DevMaster.net Forums > Programming & Development > Sound and Music Programming
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
Old 04-26-2005, 03:32 AM   #1
sheepdonkey
New Member
 
Join Date: Apr 2005
Posts: 1
Default

Hi,

I'm having a problem thats driving me mad. Could anyone tell me if they have sucessfully paused Direct music segments. The segments are loaded from wav files.

I've been playing around with the example function given by microsoft:

http://msdn.microsoft.com/library/default....ingsegments.asp

but have had no joy.

I can restart the segment playing from the start of the wav file but never from where I stopped it playing?

Thanks for any help
sheepdonkey is offline   Reply With Quote
Old 04-26-2005, 06:19 PM   #2
bladder
DevMaster Staff
 
bladder's Avatar
 
Join Date: Sep 2003
Location: Hell
Posts: 1,109
Default

Havent used direct music in quite a while so Im a bit rusty, but what are you doing to pause? IIRC you have to get the current MUSIC_TIME from the perfromance object and then set that time as the starting position in the segment you want to pause (after you stop the segment of course). Then the next time you play the segment it starts from wherever it was...
___________________________________________
- TripleBuffer
- Me blog
bladder is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump


All times are GMT -7. The time now is 07:37 AM.


Powered by vBulletin
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.