diff --git a/vite/src/pipedal/JackHostStatus.tsx b/vite/src/pipedal/JackHostStatus.tsx
index 1f5c1f5..67239e9 100644
--- a/vite/src/pipedal/JackHostStatus.tsx
+++ b/vite/src/pipedal/JackHostStatus.tsx
@@ -189,4 +189,46 @@ export default class JackHostStatus {
}
}
+ static getDisplayViewNoCpu(label: string, status?: JackHostStatus): React.ReactNode {
+ if (!status) {
+ return (
+ {label}
+
+
);
+ }
+ if (status.restarting) {
+ return (
+
+ {label}
+
+ Restarting
+
+
+ );
+
+ } else if (!status.active) {
+ return (
+
+ {label}
+
+
+ {status.errorMessage === "" ? "Audio\u00A0Stopped" : status.errorMessage}
+
+
+ );
+ } else {
+ let underrunError = status.msSinceLastUnderrun < 15 * 1000;
+ return (
+
+ {label}
+
+
+ XRuns: {status.underruns + ""}
+
+
+
+ );
+ }
+ }
+
};
\ No newline at end of file
diff --git a/vite/src/pipedal/JackServerSettingsDialog.tsx b/vite/src/pipedal/JackServerSettingsDialog.tsx
index 83bce66..2a606f1 100644
--- a/vite/src/pipedal/JackServerSettingsDialog.tsx
+++ b/vite/src/pipedal/JackServerSettingsDialog.tsx
@@ -738,7 +738,7 @@ const JackServerSettingsDialog = withStyles(
Latency: {this.state.latencyText}
- {JackHostStatus.getDisplayView("", this.state.jackStatus)}
+ {JackHostStatus.getDisplayViewNoCpu("", this.state.jackStatus)}
{!this.state.okEnabled && (