示例#1
1
文件: Form1.cs 项目: Alexrerx/yaalp
        public Form1()
        {
            InitializeComponent();

            deviceSound = new Microsoft.DirectX.DirectSound.Device();
            deviceSound.SetCooperativeLevel(Handle, CooperativeLevel.Priority);
            Init();
            GetGamePads();

            //the soundwaves class contains methods for synthesizing audio, and playing static audio
            soundWaves = new SoundWaves(deviceSound);
        }
        public Form1()
        {
            InitializeComponent();

            deviceSound = new Microsoft.DirectX.DirectSound.Device();
            deviceSound.SetCooperativeLevel(Handle, CooperativeLevel.Priority);
            soundWaves = new SoundWaves(deviceSound);

            imgHoltz.Visible = true;
            imgVas.Visible = false;
            currentModel = Model.Holtz;
        }
示例#3
0
        public Form1()
        {
            InitializeComponent();

            deviceSound = new Microsoft.DirectX.DirectSound.Device();
            deviceSound.SetCooperativeLevel(Handle, CooperativeLevel.Priority);
            Init();
            GetGamePads();

            //the soundwaves class contains methods for synthesizing audio, and playing static audio
            soundWaves = new SoundWaves(deviceSound);
        }