![]() |
| [[ Home | Forums | 3D Engines Database | Wiki | Articles/Tutorials | Game Dev Jobs | IRC Chat Network | Contact Us ]] |
|
|
#1 |
|
New Member
Join Date: Apr 2005
Posts: 1
|
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 |
|
|
|
|
|
#2 |
|
DevMaster Staff
Join Date: Sep 2003
Location: Hell
Posts: 1,109
|
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...
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|