示例#1
0
        /// <summary>
        /// Initializes the audio system by instantiating the driver with the given
        /// AudioTypeID.  The audio driver must be registered with the Registrar
        /// class.
        /// </summary>
        /// <param name="audioType"></param>
        public static void Initialize(AudioTypeID audioType)
        {
            Core.Initialize();

            impl = Registrar.CreateAudioDriver(audioType);
            impl.Initialize();
        }