Пример #1
0
 public void NotifyUpdateVuMeter(object sender, UpdateVuMeter Update)
 {
     if (UpdateVuMeterEvent != null)
     {
         UpdateVuMeterEvent(sender, Update);
     }
 }
Пример #2
0
// Handles VuMeter event from player
        public void CatchUpdateVuMeterEvent(object sender, UpdateVuMeter Update)
        {
            boolPlayer            = true;
            ob_AudioPlayer        = sender as AudioPlayer;
            m_FrameSize           = ob_AudioPlayer.m_FrameSize;
            m_Channels            = ob_AudioPlayer.m_Channels;
            m_UpdateVMArrayLength = ob_AudioPlayer.m_UpdateVMArrayLength;
            m_arUpdatedVM         = new int  [m_UpdateVMArrayLength];

            Array.Copy(ob_AudioPlayer.arUpdateVM, m_arUpdatedVM, m_UpdateVMArrayLength);
            Thread UpdateVMForm = new Thread(new ThreadStart(AnimationComputation));

            UpdateVMForm.Start();
        }