Fix source name not being used (#2036)
This commit is contained in:
parent
ecbbfa39a2
commit
fced59a213
@ -338,7 +338,7 @@ class DisplayAudio {
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
({audio, source, subIndex} = info);
|
({audio, source, subIndex} = info);
|
||||||
const sourceIndex = sources.indexOf(source);
|
const sourceIndex = sources.indexOf(source);
|
||||||
title = `From source ${1 + sourceIndex}: ${source}`;
|
title = `From source ${1 + sourceIndex}: ${source.name}`;
|
||||||
} else {
|
} else {
|
||||||
audio = this._audioSystem.getFallbackAudio();
|
audio = this._audioSystem.getFallbackAudio();
|
||||||
title = 'Could not find audio';
|
title = 'Could not find audio';
|
||||||
|
Loading…
Reference in New Issue
Block a user