So, I've been using the motor control library for a bit now (and I think it 
is really kick ass), but one problem I am having with it is setting the 
event queue size. For some reason I can never get it to actually set and 
accept the new size. my setup code is basically:

sequencer_ = ioio_.openSequencer(config);
sequencer_.setEventQueueSize(40);

int numOfCues = sequencer_.available();
Log.i(TAG, "Num of Cues: " + String.valueOf(numOfCues));

sequencer_.waitEventType(Sequencer.Event.Type.STOPPED);

sequencer_.setEventQueueSize(40);

sequencer_.start();
push();
sequencer_.waitEventType(Sequencer.Event.Type.CUE_STARTED);

numOfCues = sequencer_.available();
Log.i(TAG, "Num of Cues: " + String.valueOf(numOfCues));

I attempted to set the queue size both right after I opened up the 
sequencer, and after it had already initialized and was in STOPPED mode. 
Neither of them seemed to work.

Both log statements reported back 32 as the number of available cues.

Is there something that I am missing trying to use this method?

Craig

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to