HI
I am writing a plugin in C++ and have having some probs when using the SendCommand() function.
I have paused the track using :
TSongInfos theInfo;
GetSongInfos(Desk,&theInfo);
SendCommand(Desk,theInfo.PlayPos,"Pause");
And now i need to resume/play it from where it is.
When i use:
SendCommand(Desk,theInfo.PlayPos,"Play");
The track does not instantly play. It only plays if u drag the waveform a tiny bit.
Anyone know a way of playin the track instantly from where it is?
Cheers
I am writing a plugin in C++ and have having some probs when using the SendCommand() function.
I have paused the track using :
TSongInfos theInfo;
GetSongInfos(Desk,&theInfo);
SendCommand(Desk,theInfo.PlayPos,"Pause");
And now i need to resume/play it from where it is.
When i use:
SendCommand(Desk,theInfo.PlayPos,"Play");
The track does not instantly play. It only plays if u drag the waveform a tiny bit.
Anyone know a way of playin the track instantly from where it is?
Cheers
发表时间 Sun 13 Jul 03 @ 11:14 am
Use -1 as a position to perform the action at once.
发表时间 Mon 14 Jul 03 @ 4:47 pm
OK Cheers. Thats works. But there is still a delay of 0.5s before the song plays. Anyway i can remove this as it sounds shit at the mo?
发表时间 Mon 14 Jul 03 @ 7:16 pm
Please guys. Ive waited ages and no one has helped. One of the support team must know the answer....
发表时间 Sat 19 Jul 03 @ 3:04 am
Maybe it's a bug.. you could try to get the songpos, then mute the channel and seek back to old songpos + unmute.. dunno :)
发表时间 Tue 22 Jul 03 @ 9:09 am
Well i dont think that would really solve my problem.
If i mute the channel there will still be a pause in the audio playback which is currently the problem.
Theres no way its a bug, i think its to do with the fact that new samples need to be computed. One of the support team will know then answer, please help. Ive been stuck on this 4 over two weeks now
Thanks anyways mate.
If i mute the channel there will still be a pause in the audio playback which is currently the problem.
Theres no way its a bug, i think its to do with the fact that new samples need to be computed. One of the support team will know then answer, please help. Ive been stuck on this 4 over two weeks now
Thanks anyways mate.
发表时间 Tue 22 Jul 03 @ 11:52 pm
Did you try SendCommand(Desk,-1,"Play"); instead of SendCommand(Desk,theInfo.PlayPos,"Play");
Some message in the forum suggested that -1 would not cause delay .. strange eh?
Some message in the forum suggested that -1 would not cause delay .. strange eh?
发表时间 Fri 25 Jul 03 @ 10:50 am
Yeah...
If you read above you will see that someone suggested that ages ago. I have tryied using -1 it works, but as i said there is a delay of 0.5s b4 song starts to play.
Thanks anyways, least someone is trying to help!!
If you read above you will see that someone suggested that ages ago. I have tryied using -1 it works, but as i said there is a delay of 0.5s b4 song starts to play.
Thanks anyways, least someone is trying to help!!
发表时间 Fri 25 Jul 03 @ 1:52 pm
In which function do you use SendCommand("play") ?
Is it on ComputeNewSamples, or in a separate thread function ?
Is it on ComputeNewSamples, or in a separate thread function ?
发表时间 Wed 30 Jul 03 @ 11:22 pm
Its in a separate thread function. Does that make a difference?
发表时间 Sun 03 Aug 03 @ 10:14 pm
Could you send your source code to plugins@virtualdj.com, so we can have a test it here, and see what's wrong?
发表时间 Wed 06 Aug 03 @ 1:28 pm
This message is for anyone who can help me with the "sample plugin". Im trying to figure out its features but i notice no changes in the song. Your suggestions are greatly appreciated.
ty
Dj Roby
ty
Dj Roby
发表时间 Tue 29 Jun 04 @ 11:57 pm
DJRoby:
It seems that it is not compatible with VDJ 2. I will have a look at this.
It seems that it is not compatible with VDJ 2. I will have a look at this.
发表时间 Wed 30 Jun 04 @ 7:16 am
Thanks again Kaleo!!
By the way your plugins are truley amazing. Thanks for all your generous contributions to VDJ because they have literally taken my mixes to another level.
Way to go!!
DJ Roby
By the way your plugins are truley amazing. Thanks for all your generous contributions to VDJ because they have literally taken my mixes to another level.
Way to go!!
DJ Roby
发表时间 Wed 30 Jun 04 @ 3:46 pm
Thank you DJRoby :)
发表时间 Thu 01 Jul 04 @ 3:32 pm