Example #1
0
        public Dictaphone()
        {
            this.recEx = new Alvas.Audio.RecorderEx();
            this.playEx = new Alvas.Audio.PlayerEx();
            //
            // recEx
            //
            this.recEx.Close += new System.EventHandler(this.CloseRecorder);
            this.recEx.Data += new Alvas.Audio.RecorderEx.DataEventHandler(this.DataRecorder);
            this.recEx.Open += new System.EventHandler(this.OpenRecorder);
            //
            // playEx
            //
            this.playEx.Close += new System.EventHandler(this.playerEx_Close);
            this.playEx.Open += new System.EventHandler(this.playerEx_Open);
            this.playEx.Done += new Alvas.Audio.PlayerEx.DoneEventHandler(this.playerEx_Done);

            FormatDetails[] tmp = AudioCompressionManager.GetFormatList(new WaveFormat());
            Format = AudioCompressionManager.GetFormatList(new WaveFormat())[47].FormatHandle;

            //SoundLevelMeter vum = new SoundLevelMeter();
            //vum.BackColor = System.Drawing.Color.Black;
            //vum.ForeColor = System.Drawing.Color.Lime;
            //vum.Location = new System.Drawing.Point(2, 308);
            //vum.Name = "vum";
            //vum.Size = new System.Drawing.Size(217, 69);
            //vum.TabIndex = 40;
            //SoundLevelMeter = vum;
        }
Example #2
0
 public Dictaphone()
 {
     this.recEx  = new Alvas.Audio.RecorderEx();
     this.playEx = new Alvas.Audio.PlayerEx();
     //
     // recEx
     //
     this.recEx.Close += new System.EventHandler(this.CloseRecorder);
     this.recEx.Data  += new Alvas.Audio.RecorderEx.DataEventHandler(this.DataRecorder);
     this.recEx.Open  += new System.EventHandler(this.OpenRecorder);
     //
     // playEx
     //
     this.playEx.Close += new System.EventHandler(this.playerEx_Close);
     this.playEx.Open  += new System.EventHandler(this.playerEx_Open);
     this.playEx.Done  += new Alvas.Audio.PlayerEx.DoneEventHandler(this.playerEx_Done);
 }