Skip to content

Commit d5635f0

Browse files
Improved readability with codemaid in VolumMixerControl.cs
1 parent 53ff432 commit d5635f0

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

‎SpotifyAPI/Local/VolumeMixerControl.cs‎

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
using System;
2-
using System.Collections.Generic;
32
using System.Diagnostics;
4-
using System.Linq;
53
using System.Runtime.InteropServices;
6-
using System.Text;
7-
using System.Threading.Tasks;
84

95
namespace SpotifyAPI.Local
106
{
@@ -125,7 +121,6 @@ private static ISimpleAudioVolume GetVolumeObject(int pid)
125121
return volumeControl;
126122
}
127123

128-
129124
[ComImport]
130125
[Guid("BCDE0395-E52F-467C-8E3D-C4579291692E")]
131126
private class MMDeviceEnumerator
@@ -162,13 +157,13 @@ private interface IMMDevice
162157
{
163158
[PreserveSig]
164159
int Activate(ref Guid iid, int dwClsCtx, IntPtr pActivationParams, [MarshalAs(UnmanagedType.IUnknown)] out object ppInterface);
165-
166160
}
167161

168162
[Guid("77AA99A0-1BD6-484F-8BC7-2C654C9A9B6F"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
169163
private interface IAudioSessionManager2
170164
{
171165
int NotImpl1();
166+
172167
int NotImpl2();
173168

174169
[PreserveSig]
@@ -247,4 +242,4 @@ private interface IAudioSessionControl2
247242
int SetDuckingPreference(bool optOut);
248243
}
249244
}
250-
}
245+
}

0 commit comments

Comments
 (0)