Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
92 user(s) are online (74 user(s) are browsing Forums)

Members: 1
Guests: 91

sailor, more...

Support us!

Headlines

Report message:*
 

Enhancer sound.datatype pause/resume

Subject: Enhancer sound.datatype pause/resume
by mritter0 on 2017/9/7 2:35:03

if (!SoundPause)
{
    
IDataTypes->DoDTMethod(SoundObject,NULL,NULL,DTM_TRIGGER,NULL,STM_PAUSE,NULL);
    
SoundPause=TRUE;
}
else
{
    
IDataTypes->DoDTMethod(SoundObject,NULL,NULL,DTM_TRIGGER,NULL,STM_RESUME,NULL);
    
SoundPause=FALSE;
}


This code works, but when resume the audio is partially garbled. Almost like it is playing from 2 spots, just slightly off, at the same time.


sound.datatype 53.27, X5000.


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project