コード例 #1
0
        /// <summary>
        /// Resets the devices outputbuffers and fills them with zeros.
        /// </summary>
        public void ClearDeviceBuffers()
        {
            Log.Debug("OutputDeviceManager.ClearDeviceBuffers()");

            if (!_Initialized)
            {
                throw new BassPlayerException("OutputDeviceManager not initialized");
            }

            _OutputDevice.ClearBuffers();
        }