/// <summary>
        /// Stop button is clicked.
        /// </summary>
        private void OnClickStop()
        {
            if (deviceCommunication == null)
            {
                return;
            }

            deviceCommunication.OnStop_Click();
        }
Пример #2
0
        /// <summary>
        /// Stop button is clicked.
        /// </summary>
        private void OnClickStop()
        {
            if (deviceCommunication == null)
            {
                return;
            }

            deviceCommunication.OnStop_Click();
            autoMute(deviceCommunication.GetUserMode() == UserMode.Playing);
        }