Skip to content

Commit dc5a322

Browse files
committed
disables error reporting that would show a pop-up in exported app
1 parent 548a63d commit dc5a322

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

VL.Audio.UI/deployment/VL.Audio.UI.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
33
<metadata>
44
<id>VL.Audio.UI</id>
5-
<version>1.9.11</version>
5+
<version>1.9.12</version>
66
<title>VL.Audio.UI</title>
77
<authors>vvvv</authors>
88
<owners>vvvv</owners>
@@ -11,7 +11,7 @@
1111
<description>Extension pack for VL.Audio that brings in UI's for driver configuration and more</description>
1212
<tags>VL</tags>
1313
<dependencies>
14-
<dependency id="VL.Audio" version="1.9.11" />
14+
<dependency id="VL.Audio" version="1.9.12" />
1515
<dependency id="VL.ImGui.Skia" version="2024.6.7" />
1616
</dependencies>
1717
<license type="expression">LGPL-3.0-only</license>

VL.Audio/deployment/VL.Audio.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
33
<metadata>
44
<id>VL.Audio</id>
5-
<version>1.9.11</version>
5+
<version>1.9.12</version>
66
<title>VL.Audio</title>
77
<authors>NAudio, vvvv</authors>
88
<owners>vvvv</owners>

VL.Audio/src/Core/MasterWaveProvider.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ public int Read(byte[] buffer, int offset, int count)
135135
}
136136
catch (Exception e)
137137
{
138-
RuntimeGraph.ReportException(e);
138+
//RuntimeGraph.ReportException(e);
139+
System.Diagnostics.Trace.TraceError("VL.Audio error thrown while notifying for buffer preparation!");
139140
}
140141
}
141142

@@ -149,7 +150,8 @@ public int Read(byte[] buffer, int offset, int count)
149150
}
150151
catch (Exception e)
151152
{
152-
RuntimeGraph.ReportException(e);
153+
//RuntimeGraph.ReportException(e);
154+
System.Diagnostics.Trace.TraceError("VL.Audio error thrown while evaluating sinks!");
153155
}
154156
}
155157

@@ -175,7 +177,8 @@ public int Read(byte[] buffer, int offset, int count)
175177
}
176178
catch (Exception e)
177179
{
178-
RuntimeGraph.ReportException(e);
180+
//RuntimeGraph.ReportException(e);
181+
System.Diagnostics.Trace.TraceError("VL.Audio error thrown while evaluating inputs!");
179182
}
180183
}
181184

0 commit comments

Comments
 (0)