Skip to content

Commit

Permalink
minor code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
markheath committed Jan 9, 2021
1 parent c008d6b commit 278b551
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion NAudio.Wasapi/CoreAudioApi/AudioCaptureClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public void Dispose()
{
if (audioCaptureClientInterface != null)
{
// althugh GC would do this for us, we want it done now
// although GC would do this for us, we want it done now
// to let us reopen WASAPI
Marshal.ReleaseComObject(audioCaptureClientInterface);
audioCaptureClientInterface = null;
Expand Down
1 change: 0 additions & 1 deletion NAudio.Wasapi/CoreAudioApi/AudioClient.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using NAudio.CoreAudioApi.Interfaces;
using System.Runtime.InteropServices;
using NAudio.Utils;
using NAudio.Wave;

namespace NAudio.CoreAudioApi
Expand Down
4 changes: 1 addition & 3 deletions NAudio.Wasapi/CoreAudioApi/AudioClientShareMode.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace NAudio.CoreAudioApi
namespace NAudio.CoreAudioApi
{
/// <summary>
/// AUDCLNT_SHAREMODE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ misrepresented as being the original source code.
3. This notice may not be removed or altered from any source distribution.
*/

using System;

namespace NAudio.CoreAudioApi
{
/// <summary>
Expand Down

0 comments on commit 278b551

Please sign in to comment.