Improved readability with codemaid in VolumMixerControl.cs

This commit is contained in:
mrnikbobjeff 2015-10-17 11:57:26 +02:00
parent 53ff432425
commit d5635f060e

View File

@ -1,10 +1,6 @@
using System; using System;
using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace SpotifyAPI.Local namespace SpotifyAPI.Local
{ {
@ -125,7 +121,6 @@ namespace SpotifyAPI.Local
return volumeControl; return volumeControl;
} }
[ComImport] [ComImport]
[Guid("BCDE0395-E52F-467C-8E3D-C4579291692E")] [Guid("BCDE0395-E52F-467C-8E3D-C4579291692E")]
private class MMDeviceEnumerator private class MMDeviceEnumerator
@ -162,13 +157,13 @@ namespace SpotifyAPI.Local
{ {
[PreserveSig] [PreserveSig]
int Activate(ref Guid iid, int dwClsCtx, IntPtr pActivationParams, [MarshalAs(UnmanagedType.IUnknown)] out object ppInterface); int Activate(ref Guid iid, int dwClsCtx, IntPtr pActivationParams, [MarshalAs(UnmanagedType.IUnknown)] out object ppInterface);
} }
[Guid("77AA99A0-1BD6-484F-8BC7-2C654C9A9B6F"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] [Guid("77AA99A0-1BD6-484F-8BC7-2C654C9A9B6F"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
private interface IAudioSessionManager2 private interface IAudioSessionManager2
{ {
int NotImpl1(); int NotImpl1();
int NotImpl2(); int NotImpl2();
[PreserveSig] [PreserveSig]
@ -247,4 +242,4 @@ namespace SpotifyAPI.Local
int SetDuckingPreference(bool optOut); int SetDuckingPreference(bool optOut);
} }
} }
} }