fixed $draw
This commit is contained in:
		@@ -270,11 +270,6 @@ namespace NadekoBot.Modules.Music.Classes
 | 
			
		||||
        //aidiakapi ftw
 | 
			
		||||
        public static unsafe byte[] AdjustVolume(byte[] audioSamples, float volume)
 | 
			
		||||
        {
 | 
			
		||||
            Contract.Requires(audioSamples != null);
 | 
			
		||||
            Contract.Requires(audioSamples.Length % 2 == 0);
 | 
			
		||||
            Contract.Requires(volume >= 0f && volume <= 1f);
 | 
			
		||||
            Contract.Assert(BitConverter.IsLittleEndian);
 | 
			
		||||
 | 
			
		||||
            if (Math.Abs(volume - 1f) < 0.0001f) return audioSamples;
 | 
			
		||||
 | 
			
		||||
            // 16-bit precision for the multiplication
 | 
			
		||||
 
 | 
			
		||||
@@ -23,12 +23,12 @@
 | 
			
		||||
    "Google.Apis.Urlshortener.v1": "1.19.0.138",
 | 
			
		||||
    "Google.Apis.YouTube.v3": "1.20.0.701",
 | 
			
		||||
    "Google.Apis.Customsearch.v1": "1.20.0.466",
 | 
			
		||||
    "ImageSharp": "1.0.0-alpha2-00090",
 | 
			
		||||
    "ImageSharp.Processing": "1.0.0-alpha2-00078",
 | 
			
		||||
    "ImageSharp.Formats.Png": "1.0.0-alpha2-00086",
 | 
			
		||||
    "ImageSharp.Drawing": "1.0.0-alpha2-00090",
 | 
			
		||||
    "ImageSharp.Drawing.Paths": "1.0.0-alpha2-00040",
 | 
			
		||||
    //"ImageSharp.Formats.Jpeg": "1.0.0-alpha2-00090",
 | 
			
		||||
    "ImageSharp": "1.0.0-alpha2-*",
 | 
			
		||||
    "ImageSharp.Processing": "1.0.0-alpha2-*",
 | 
			
		||||
    "ImageSharp.Formats.Png": "1.0.0-alpha2-*",
 | 
			
		||||
    "ImageSharp.Formats.Jpeg": "1.0.0-alpha2-*",
 | 
			
		||||
    "ImageSharp.Drawing": "1.0.0-alpha2-*",
 | 
			
		||||
    "ImageSharp.Drawing.Paths": "1.0.0-alpha2-*",
 | 
			
		||||
    "Microsoft.EntityFrameworkCore": "1.1.0",
 | 
			
		||||
    "Microsoft.EntityFrameworkCore.Design": "1.1.0",
 | 
			
		||||
    "Microsoft.EntityFrameworkCore.Sqlite": "1.1.0",
 | 
			
		||||
@@ -44,7 +44,6 @@
 | 
			
		||||
    },
 | 
			
		||||
    "Newtonsoft.Json": "9.0.2-beta1",
 | 
			
		||||
    "NLog": "5.0.0-beta03",
 | 
			
		||||
    "System.Diagnostics.Contracts": "4.3.0",
 | 
			
		||||
    "System.Xml.XPath": "4.3.0",
 | 
			
		||||
    "Discord.Net.Commands": {
 | 
			
		||||
      "target": "project",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user