about loop

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.

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

1 Like

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

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

ok, thank you