Skip to content

Commit

Permalink
dotnet format
Browse files Browse the repository at this point in the history
  • Loading branch information
laves committed Oct 17, 2023
1 parent b9d37eb commit 9a8ec08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion sdk/dotnet/Picovoice/Picovoice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ public void Reset()
throw new PicovoiceInvalidStateException("Cannot process frame - resources have been released.");
}

try {
try
{
_isWakeWordDetected = false;
_rhino.Reset();
}
Expand Down
4 changes: 2 additions & 2 deletions sdk/dotnet/PicovoiceTest/MainTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public void RunTestCase(string audioFileName, string expectedIntent, Dictionary<

[TestMethod]
public void TestReset()
{
{
_picovoice = Picovoice.Create(
_accessKey,
GetKeywordPath("en", "picovoice"),
Expand All @@ -192,7 +192,7 @@ public void TestReset()

_inference = null;
ProcessFileHelper("picovoice-coffee.wav");

Assert.IsNull(_inference);
}

Expand Down

0 comments on commit 9a8ec08

Please sign in to comment.