Hi,

I'm working on updating the file :  Hercules DJ Control Steel.midi.xml
I've done a new file : Hercules-DJ-Control-Steel-scripts.js


But when I want to exit a loop, (the bug appears only on small loops), 
the use of reloop_exit make the software crash :

Here is the code :


// Loop exit
HerculesSteel.Deck.prototype.keypad8Handler = function(value) {
         if(value == HerculesSteel.ButtonState.pressed) {
                 this.Buttons.Keypad8.setLed(HerculesSteel.LedState.on);
                 print("reloop_exit");
                 engine.setValue(this.group,"reloop_exit",1);

                 }
         else
         {
                 this.Buttons.Keypad8.setLed(HerculesSteel.LedState.off);
         }
};



And, this is the result when I press keypad8 :


Debug: [MidiScriptEngine 2]: reloop_exit
Fatal: []: ASSERT: "start_sample >= 0" in file 
src/engine/readaheadmanager.cpp, line 60
Abandon




Any idea how to correct this ?





Thanks

Stephane


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to