Exemplo n.º 1
1
        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);
        }
Exemplo n.º 2
0
        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;
        }
Exemplo n.º 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);
        }