예제 #1
0
        void controller_TimelineUpdate(object sender, EventArgs e)
        {
            if (controller.Timeline == null)
            {
                return;
            }

            foreach (AlertSound sound in controller.Timeline.AlertSoundAssets.All)
            {
                soundplayer.WarmUpCache(sound.Filename);
            }
        }
예제 #2
0
        private void WarmUpSoundPlayerCache()
        {
            if (playSoundByACT)
            {
                return;
            }

            foreach (AlertSound sound in controller.Timeline.AlertSoundAssets.All)
            {
                soundplayer.WarmUpCache(sound.Filename);
            }
        }