- mMusic.setLooping(true);
- mMusic.enqueue("NightFusionLoop");
-
- bool isMute = false;
- Mf::settings.get("nomusic", isMute);
- if (!isMute) mMusic.play();
-
- //mMusic.setPosition(Mf::Vector3(10.0, 5.0, 0.0));
-
- loadSceneLoader();
- advanceScene(); // load the first scene
+ moof::log_info("about to load sound resource...");
+ music_.sample("NightFusionIntro.ogg");
+ music_.loop(true);
+ music_.enqueue("NightFusionLoop.ogg");
+ music_.position(moof::vector3(10.0, 5.0, 0.0));