Пример #1
0
 public Silence(PlaybackDevice Device)
     : base(Resolution.Byte)
 {
     Handle = Bass.CreateStream(44100, 1, BassFlags.Byte, Procedure, IntPtr.Zero);
     Bass.ChannelSetDevice(Handle, Device.DeviceIndex);
     Bass.SetChannelAttribute(Handle, ChannelAttribute.Volume, 0);
 }