예제 #1
0
        private bool InitializeLocal()
        {
            // Create sound device.
            if (!device.Create())
            {
                return(false);
            }

            // Create timer.
            timer = SystemFactory.CreateTimer();

            if (!timer.Initialize())
            {
                //Engine.Error("Sound system timer failed to initialize");

                return(false);
            }

            return(true);
        }