about loop


(xq) #1

when i load a bank file and create a instance from it, i want to use
eventInstance->setProperty(FMOD_STUDIO_EVENT_PROPERTY_CHANNELPRIORITY, FMOD_LOOP_NORMAL);
to loop zhe music, but it dosen’t work.


(Nicholas Wilcox) #2

Set up you loop in the Studio tool. See the section of the FMOD Studio User Manual entitled Loop Regions.


(xq) #3

thank you , but if i want loop in my programa, want is zhe the correct way?


(Nicholas Wilcox) #4

There is no way to set looping for an event in code.


(xq) #5

ok, thank you