Ejemplo n.º 1
0
        private void StopPlay()
        {
            m_PlayRequested = false;

            if (m_TemplateFile != null)
            {
                Console.WriteLine("Stop");

                //Explicitly report to playlog
                m_Template.EndFilePlayback(m_PlaybackTicket);

                m_Template.SetState(API.State.Warning, "Stopped");

                m_Template.Debug(API.DebugLevel.Low, API.DebugCategory.Information, "Stop file " + m_TemplateFile.Name);
            }
        }