View Full Version : Vis Q's
acozz
01-18-2004, 11:52 PM
I'm having a few problems with my vis plugin.
1) If I enable the vis without a song playing, it works. But if I enable it with a song playing, it crashes because when I try to blit to the vis the info->buffer is null. Without a song playing it is also starts null, but somewhere along the way it gains a value. What's going on?
2) If I disable the vis when it is selected, then play a song, the player crashes. I think I released everything, can anything else cause this? What should I be looking for?
acozz
01-19-2004, 12:31 AM
For number 1, I'm suspecting that the buffer isn't filled until initialization is complete, is this true?
Edit: Seems to be as I changed it and it works now.
Number 2 is still a problem though.
acozz
01-19-2004, 12:49 AM
More info on number 2, because of the bug I've reported here: http://www.quinnware.com/forum/showthread.php?t=819 no vis is selected after disabling. If I select another vis before playing a song, the player will not crash and everything works.
Hmm. Ideas? Is this a bug?
plover
01-19-2004, 03:01 AM
Which QCD version are you using? I've had vis problems that first appear with b68. If you're using b68 or b69, you might try testing with b67 and see if the problem goes away.
acozz
01-19-2004, 03:06 AM
Which QCD version are you using? I've had vis problems that first appear with b68. If you're using b68 or b69, you might try testing with b67 and see if the problem goes away.
B69. I'm starting to think it is a bug because I reproduced it with my older Cover Art Vis 2.1. But I can't reproduce it with the default visuals, so now I'm not sure.
Edit: Reproduces with Arena Visual as well.
Edit2: Crash still happens in 4.11.
plover
01-19-2004, 04:40 AM
B69. I'm starting to think it is a bug because I reproduced it with my older Cover Art Vis 2.1. But I can't reproduce it with the default visuals, so now I'm not sure.
Edit: Reproduces with Arena Visual as well.
Edit2: Crash still happens in 4.11.
I can't reproduce this with Arena (in b69). Maybe I'm not doing the same thing. I tried the following:
1) While QCD is playing, choose Arena vis.
2) Press stop.
3) Disable Arena vis.
4) Press play.
And now I can't reproduce the bug I mentioned in the above post either. And it was very predictable a couple of days ago... :rolleyes:
Have you noticed that if you disable and then re-enable a vis that was selected, that it remains selected? So apparently disabling a vis does not affect QCD's selected-vis record. In fact, you can disable the vis, shut down QCD, restart, re-enable, and it will still be selected. So QCD doesn't even blink at saving out a disabled vis as current selection. Bug or feature...? :confused:
I'm having a few problems with my vis plugin.
1) If I enable the vis without a song playing, it works. But if I enable it with a song playing, it crashes because when I try to blit to the vis the info->buffer is null. Without a song playing it is also starts null, but somewhere along the way it gains a value. What's going on?
2) If I disable the vis when it is selected, then play a song, the player crashes. I think I released everything, can anything else cause this? What should I be looking for?
1) When are you doing the blit? If you are rendering at anytime other than during Render(), I can't guarantee anything.
2) I can't reproduce this with default vis's. Perhaps it's related to 1).
acozz
01-19-2004, 07:12 PM
2) I can't reproduce this with default vis's. Perhaps it's related to 1).
What I don't understand is what could hold over after my vis is disabled that could cause a crash.
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.