Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
albho committed Sep 11, 2024
1 parent 28be7a4 commit 2b657f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binding/dotnet/PvSpeaker/PvSpeaker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public int Write(byte[] pcm)
public int Flush(byte[] pcm = null)
{
pcm = pcm ?? Array.Empty<byte>();

// Create a pointer to the byte array to pass to `pv_speaker_flush`.
GCHandle pinnedArray = GCHandle.Alloc(pcm, GCHandleType.Pinned);
IntPtr pcmPtr = pinnedArray.AddrOfPinnedObject();
Expand Down

0 comments on commit 2b657f6

Please sign in to comment.