aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-12-14 22:03:34 -0500
committerGitHub <noreply@github.com>2021-12-14 22:03:34 -0500
commitfced59a213d316de8629bee0055e8f5697d268b5 (patch)
tree678889fe434f950cc8804ac9b8f762089ba493c6
parentecbbfa39a22c2e70a2c5af262d77dea80fb309f8 (diff)
Fix source name not being used (#2036)
-rw-r--r--ext/js/display/display-audio.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/display/display-audio.js b/ext/js/display/display-audio.js
index c75423b3..bf54384e 100644
--- a/ext/js/display/display-audio.js
+++ b/ext/js/display/display-audio.js
@@ -338,7 +338,7 @@ class DisplayAudio {
if (valid) {
({audio, source, subIndex} = info);
const sourceIndex = sources.indexOf(source);
- title = `From source ${1 + sourceIndex}: ${source}`;
+ title = `From source ${1 + sourceIndex}: ${source.name}`;
} else {
audio = this._audioSystem.getFallbackAudio();
title = 'Could not find audio';